diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 5bec21a66dc..32428b410b5 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
| @@ -799,7 +799,7 @@ extern void cpu_init(void); | |||
| 799 | 799 | ||
| 800 | static inline unsigned long get_debugctlmsr(void) | 800 | static inline unsigned long get_debugctlmsr(void) |
| 801 | { | 801 | { |
| 802 | unsigned long debugctlmsr = 0; | 802 | unsigned long debugctlmsr = 0; |
| 803 | 803 | ||
| 804 | #ifndef CONFIG_X86_DEBUGCTLMSR | 804 | #ifndef CONFIG_X86_DEBUGCTLMSR |
| 805 | if (boot_cpu_data.x86 < 6) | 805 | if (boot_cpu_data.x86 < 6) |
| @@ -807,7 +807,7 @@ static inline unsigned long get_debugctlmsr(void) | |||
| 807 | #endif | 807 | #endif |
| 808 | rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); | 808 | rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); |
| 809 | 809 | ||
| 810 | return debugctlmsr; | 810 | return debugctlmsr; |
| 811 | } | 811 | } |
| 812 | 812 | ||
| 813 | static inline void update_debugctlmsr(unsigned long debugctlmsr) | 813 | static inline void update_debugctlmsr(unsigned long debugctlmsr) |
