Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: percpu, x86: Fix percpu_xchg_op() x86: Remove left over system_64.h x86-64: Don't use pointer to out-of-scope variable in dump_trace()tirimbino
commit
f7b548fa3d
@ -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 */ |
Loading…
Reference in new issue