diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:23:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:23:50 -0400 |
commit | 57935b262c40a3cbe54c5a61be230331a48f0a3a (patch) | |
tree | 335764408d67ef041f967ed721fbe2dfaff7aff0 | |
parent | 5f16a8cf2da76f75e127a370e4dcfe223107922f (diff) | |
parent | f037e416afb38b9ee8ac598d68733fcbaf665384 (diff) |
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Ingo Molnar:
"Misc x86 cleanups"
* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, reloc: Use xorl instead of xorq in relocate_kernel_64.S
x86, cleanups: Remove extra tab in __flush_tlb_one()
x86/mce: Remove check for CONFIG_X86_MCE_P4THERMAL
-rw-r--r-- | arch/x86/include/asm/tlbflush.h | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/relocate_kernel_64.S | 34 |
3 files changed, 19 insertions, 19 deletions
diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index 50a7fc0f824a..cf512003e663 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h | |||
@@ -62,7 +62,7 @@ static inline void __flush_tlb_all(void) | |||
62 | 62 | ||
63 | static inline void __flush_tlb_one(unsigned long addr) | 63 | static inline void __flush_tlb_one(unsigned long addr) |
64 | { | 64 | { |
65 | __flush_tlb_single(addr); | 65 | __flush_tlb_single(addr); |
66 | } | 66 | } |
67 | 67 | ||
68 | #define TLB_FLUSH_ALL -1UL | 68 | #define TLB_FLUSH_ALL -1UL |
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 904611bf0e5a..1600b1ca4f04 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -2302,7 +2302,7 @@ static void lapic_resume(void) | |||
2302 | apic_write(APIC_SPIV, apic_pm_state.apic_spiv); | 2302 | apic_write(APIC_SPIV, apic_pm_state.apic_spiv); |
2303 | apic_write(APIC_LVT0, apic_pm_state.apic_lvt0); | 2303 | apic_write(APIC_LVT0, apic_pm_state.apic_lvt0); |
2304 | apic_write(APIC_LVT1, apic_pm_state.apic_lvt1); | 2304 | apic_write(APIC_LVT1, apic_pm_state.apic_lvt1); |
2305 | #if defined(CONFIG_X86_MCE_P4THERMAL) || defined(CONFIG_X86_MCE_INTEL) | 2305 | #if defined(CONFIG_X86_MCE_INTEL) |
2306 | if (maxlvt >= 5) | 2306 | if (maxlvt >= 5) |
2307 | apic_write(APIC_LVTTHMR, apic_pm_state.apic_thmr); | 2307 | apic_write(APIC_LVTTHMR, apic_pm_state.apic_thmr); |
2308 | #endif | 2308 | #endif |
diff --git a/arch/x86/kernel/relocate_kernel_64.S b/arch/x86/kernel/relocate_kernel_64.S index f2bb9c96720a..3fd2c693e475 100644 --- a/arch/x86/kernel/relocate_kernel_64.S +++ b/arch/x86/kernel/relocate_kernel_64.S | |||
@@ -151,21 +151,21 @@ identity_mapped: | |||
151 | 151 | ||
152 | testq %r11, %r11 | 152 | testq %r11, %r11 |
153 | jnz 1f | 153 | jnz 1f |
154 | xorq %rax, %rax | 154 | xorl %eax, %eax |
155 | xorq %rbx, %rbx | 155 | xorl %ebx, %ebx |
156 | xorq %rcx, %rcx | 156 | xorl %ecx, %ecx |
157 | xorq %rdx, %rdx | 157 | xorl %edx, %edx |
158 | xorq %rsi, %rsi | 158 | xorl %esi, %esi |
159 | xorq %rdi, %rdi | 159 | xorl %edi, %edi |
160 | xorq %rbp, %rbp | 160 | xorl %ebp, %ebp |
161 | xorq %r8, %r8 | 161 | xorl %r8d, %r8d |
162 | xorq %r9, %r9 | 162 | xorl %r9d, %r9d |
163 | xorq %r10, %r10 | 163 | xorl %r10d, %r10d |
164 | xorq %r11, %r11 | 164 | xorl %r11d, %r11d |
165 | xorq %r12, %r12 | 165 | xorl %r12d, %r12d |
166 | xorq %r13, %r13 | 166 | xorl %r13d, %r13d |
167 | xorq %r14, %r14 | 167 | xorl %r14d, %r14d |
168 | xorq %r15, %r15 | 168 | xorl %r15d, %r15d |
169 | 169 | ||
170 | ret | 170 | ret |
171 | 171 | ||
@@ -212,8 +212,8 @@ virtual_mapped: | |||
212 | /* Do the copies */ | 212 | /* Do the copies */ |
213 | swap_pages: | 213 | swap_pages: |
214 | movq %rdi, %rcx /* Put the page_list in %rcx */ | 214 | movq %rdi, %rcx /* Put the page_list in %rcx */ |
215 | xorq %rdi, %rdi | 215 | xorl %edi, %edi |
216 | xorq %rsi, %rsi | 216 | xorl %esi, %esi |
217 | jmp 1f | 217 | jmp 1f |
218 | 218 | ||
219 | 0: /* top, read another word for the indirection page */ | 219 | 0: /* top, read another word for the indirection page */ |