Commit 57935b26 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 5f16a8cf f037e416
...@@ -62,7 +62,7 @@ static inline void __flush_tlb_all(void) ...@@ -62,7 +62,7 @@ static inline void __flush_tlb_all(void)
static inline void __flush_tlb_one(unsigned long addr) static inline void __flush_tlb_one(unsigned long addr)
{ {
__flush_tlb_single(addr); __flush_tlb_single(addr);
} }
#define TLB_FLUSH_ALL -1UL #define TLB_FLUSH_ALL -1UL
......
...@@ -2302,7 +2302,7 @@ static void lapic_resume(void) ...@@ -2302,7 +2302,7 @@ static void lapic_resume(void)
apic_write(APIC_SPIV, apic_pm_state.apic_spiv); apic_write(APIC_SPIV, apic_pm_state.apic_spiv);
apic_write(APIC_LVT0, apic_pm_state.apic_lvt0); apic_write(APIC_LVT0, apic_pm_state.apic_lvt0);
apic_write(APIC_LVT1, apic_pm_state.apic_lvt1); apic_write(APIC_LVT1, apic_pm_state.apic_lvt1);
#if defined(CONFIG_X86_MCE_P4THERMAL) || defined(CONFIG_X86_MCE_INTEL) #if defined(CONFIG_X86_MCE_INTEL)
if (maxlvt >= 5) if (maxlvt >= 5)
apic_write(APIC_LVTTHMR, apic_pm_state.apic_thmr); apic_write(APIC_LVTTHMR, apic_pm_state.apic_thmr);
#endif #endif
......
...@@ -151,21 +151,21 @@ identity_mapped: ...@@ -151,21 +151,21 @@ identity_mapped:
testq %r11, %r11 testq %r11, %r11
jnz 1f jnz 1f
xorq %rax, %rax xorl %eax, %eax
xorq %rbx, %rbx xorl %ebx, %ebx
xorq %rcx, %rcx xorl %ecx, %ecx
xorq %rdx, %rdx xorl %edx, %edx
xorq %rsi, %rsi xorl %esi, %esi
xorq %rdi, %rdi xorl %edi, %edi
xorq %rbp, %rbp xorl %ebp, %ebp
xorq %r8, %r8 xorl %r8d, %r8d
xorq %r9, %r9 xorl %r9d, %r9d
xorq %r10, %r10 xorl %r10d, %r10d
xorq %r11, %r11 xorl %r11d, %r11d
xorq %r12, %r12 xorl %r12d, %r12d
xorq %r13, %r13 xorl %r13d, %r13d
xorq %r14, %r14 xorl %r14d, %r14d
xorq %r15, %r15 xorl %r15d, %r15d
ret ret
...@@ -212,8 +212,8 @@ virtual_mapped: ...@@ -212,8 +212,8 @@ virtual_mapped:
/* Do the copies */ /* Do the copies */
swap_pages: swap_pages:
movq %rdi, %rcx /* Put the page_list in %rcx */ movq %rdi, %rcx /* Put the page_list in %rcx */
xorq %rdi, %rdi xorl %edi, %edi
xorq %rsi, %rsi xorl %esi, %esi
jmp 1f jmp 1f
0: /* top, read another word for the indirection page */ 0: /* top, read another word for the indirection page */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment