diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 7b034a4057f9..24821f5768bc 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
| @@ -700,29 +700,6 @@ static inline void sync_core(void) | |||
| 700 | #endif | 700 | #endif |
| 701 | } | 701 | } |
| 702 | 702 | ||
| 703 | static inline void __monitor(const void *eax, unsigned long ecx, | ||
| 704 | unsigned long edx) | ||
| 705 | { | ||
| 706 | /* "monitor %eax, %ecx, %edx;" */ | ||
| 707 | asm volatile(".byte 0x0f, 0x01, 0xc8;" | ||
| 708 | :: "a" (eax), "c" (ecx), "d"(edx)); | ||
| 709 | } | ||
| 710 | |||
| 711 | static inline void __mwait(unsigned long eax, unsigned long ecx) | ||
| 712 | { | ||
| 713 | /* "mwait %eax, %ecx;" */ | ||
| 714 | asm volatile(".byte 0x0f, 0x01, 0xc9;" | ||
| 715 | :: "a" (eax), "c" (ecx)); | ||
| 716 | } | ||
| 717 | |||
| 718 | static inline void __sti_mwait(unsigned long eax, unsigned long ecx) | ||
| 719 | { | ||
| 720 | trace_hardirqs_on(); | ||
| 721 | /* "mwait %eax, %ecx;" */ | ||
| 722 | asm volatile("sti; .byte 0x0f, 0x01, 0xc9;" | ||
| 723 | :: "a" (eax), "c" (ecx)); | ||
| 724 | } | ||
| 725 | |||
| 726 | extern void select_idle_routine(const struct cpuinfo_x86 *c); | 703 | extern void select_idle_routine(const struct cpuinfo_x86 *c); |
| 727 | extern void init_amd_e400_c1e_mask(void); | 704 | extern void init_amd_e400_c1e_mask(void); |
| 728 | 705 | ||
