* [PATCH] x86-64: Remove system_64.h
@ 2010-08-28 17:11 Brian Gerst
0 siblings, 0 replies; only message in thread
From: Brian Gerst @ 2010-08-28 17:11 UTC (permalink / raw)
To: hpa; +Cc: x86, linux-kernel
This header is no longer used. The %cr8 funtions are now in system.h.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/include/asm/system_64.h | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
delete mode 100644 arch/x86/include/asm/system_64.h
diff --git a/arch/x86/include/asm/system_64.h b/arch/x86/include/asm/system_64.h
deleted file mode 100644
index 1159e09..0000000
--- a/arch/x86/include/asm/system_64.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _ASM_X86_SYSTEM_64_H
-#define _ASM_X86_SYSTEM_64_H
-
-#include <asm/segment.h>
-#include <asm/cmpxchg.h>
-
-
-static inline unsigned long read_cr8(void)
-{
- unsigned long cr8;
- asm volatile("movq %%cr8,%0" : "=r" (cr8));
- return cr8;
-}
-
-static inline void write_cr8(unsigned long val)
-{
- asm volatile("movq %0,%%cr8" :: "r" (val) : "memory");
-}
-
-#include <linux/irqflags.h>
-
-#endif /* _ASM_X86_SYSTEM_64_H */
--
1.7.2.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-28 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28 17:11 [PATCH] x86-64: Remove system_64.h Brian Gerst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome