4 #include <asm/segment.h>
5 #include <asm/cmpxchg.h>
8 static inline unsigned long read_cr8(void)
11 asm volatile("movq %%cr8,%0" : "=r" (cr8
));
15 static inline void write_cr8(unsigned long val
)
17 asm volatile("movq %0,%%cr8" :: "r" (val
) : "memory");
20 #include <linux/irqflags.h>