summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2011-01-24 17:13:53 -0800
committerIngo Molnar <mingo@elte.hu>2011-01-26 08:05:58 +0100
commit9a57c3e487d25f69715705dfeef6eb9e4d666ad7 (patch)
tree3a3cc633062db4048d742219db53313befb15f95 /arch
parent2e5aa6824d9e0248d734573dad8858a2cc279cfe (diff)
downloadop-kernel-dev-9a57c3e487d25f69715705dfeef6eb9e4d666ad7.zip
op-kernel-dev-9a57c3e487d25f69715705dfeef6eb9e4d666ad7.tar.gz
x86: Remove left over system_64.h
Left-over from the x86 merge ... Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <4D3E23D1.7010405@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/system_64.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/x86/include/asm/system_64.h b/arch/x86/include/asm/system_64.h
deleted file mode 100644
index 1159e091..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 */
OpenPOWER on IntegriCloud