Skip to contentSkip to conversation

x86: remove left over system_64.h

PATCH In review Yinghai Lu 1 participant 2 messages Jan 25, 2011 – Jan 26, 2011 x86

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86: remove left over system_64.h

left-over from x86 merging...

---
 arch/x86/include/asm/system_64.h |   22 ----------------------
 1 file changed, 22 deletions(-)
arch/x86/include/asm/system_64.h deleted +0 -22
Index: linux-2.6/arch/x86/include/asm/system_64.h
===================================================================
@@ -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 lore raw

[tip:x86/urgent] x86: Remove left over system_64.h

Commit-ID:  9a57c3e487d25f69715705dfeef6eb9e4d666ad7
Gitweb:     http://git.kernel.org/tip/9a57c3e487d25f69715705dfeef6eb9e4d666ad7
Author:     Yinghai Lu <[email protected]>
AuthorDate: Mon, 24 Jan 2011 17:13:53 -0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 26 Jan 2011 08:05:58 +0100

x86: Remove left over system_64.h

Left-over from the x86 merge ...

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/system_64.h |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
arch/x86/include/asm/system_64.h deleted +0 -22
deleted file mode 100644
index 1159e09..0000000
@@ -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 */