x86: replace percpu_xxx funcs with this_cpu_xxx
Since percpu_xxx() serial functions are duplicated with this_cpu_xxx(). Removing percpu_xxx() definition and replacing them by this_cpu_xxx() in code. There is no function change in this patch, just preparation for later percpu_xxx serial function removing. On x86 machine the this_cpu_xxx() serial functions are same as __this_cpu_xxx() without no unnecessary premmpt enable/disable. Thanks for Stephen Rothwell, he found and fixed a i386 build error in the patch. Also thanks for Andrew Morton, he kept updating the patchset in Linus' tree. Signed-off-by:Alex Shi <alex.shi@intel.com> Acked-by:
Christoph Lameter <cl@gentwo.org> Acked-by:
Tejun Heo <tj@kernel.org> Acked-by:
"H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Tejun Heo <tj@kernel.org>
Showing
- arch/x86/include/asm/compat.h 1 addition, 1 deletionarch/x86/include/asm/compat.h
- arch/x86/include/asm/current.h 1 addition, 1 deletionarch/x86/include/asm/current.h
- arch/x86/include/asm/desc.h 1 addition, 0 deletionsarch/x86/include/asm/desc.h
- arch/x86/include/asm/fpu-internal.h 3 additions, 3 deletionsarch/x86/include/asm/fpu-internal.h
- arch/x86/include/asm/hardirq.h 5 additions, 4 deletionsarch/x86/include/asm/hardirq.h
- arch/x86/include/asm/irq_regs.h 2 additions, 2 deletionsarch/x86/include/asm/irq_regs.h
- arch/x86/include/asm/mmu_context.h 6 additions, 6 deletionsarch/x86/include/asm/mmu_context.h
- arch/x86/include/asm/percpu.h 4 additions, 4 deletionsarch/x86/include/asm/percpu.h
- arch/x86/include/asm/smp.h 2 additions, 2 deletionsarch/x86/include/asm/smp.h
- arch/x86/include/asm/stackprotector.h 2 additions, 2 deletionsarch/x86/include/asm/stackprotector.h
- arch/x86/include/asm/thread_info.h 1 addition, 1 deletionarch/x86/include/asm/thread_info.h
- arch/x86/include/asm/tlbflush.h 2 additions, 2 deletionsarch/x86/include/asm/tlbflush.h
- arch/x86/kernel/cpu/common.c 1 addition, 1 deletionarch/x86/kernel/cpu/common.c
- arch/x86/kernel/cpu/mcheck/mce.c 2 additions, 2 deletionsarch/x86/kernel/cpu/mcheck/mce.c
- arch/x86/kernel/i387.c 1 addition, 1 deletionarch/x86/kernel/i387.c
- arch/x86/kernel/nmi_selftest.c 1 addition, 0 deletionsarch/x86/kernel/nmi_selftest.c
- arch/x86/kernel/paravirt.c 6 additions, 6 deletionsarch/x86/kernel/paravirt.c
- arch/x86/kernel/process.c 1 addition, 1 deletionarch/x86/kernel/process.c
- arch/x86/kernel/process_32.c 1 addition, 1 deletionarch/x86/kernel/process_32.c
- arch/x86/kernel/process_64.c 5 additions, 5 deletionsarch/x86/kernel/process_64.c
Loading
Please register or sign in to comment