x86/smp: Reduce code duplication
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Sun, 9 Apr 2017 10:46:45 +0000 (18:46 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 20:43:00 +0000 (22:43 +0200)
commit0f08c3b22996c91cff62c96cf4b3db88902e12a9
tree45687781c1ecfe7a5bb5f7f730e5a2620554f67e
parent352ef03ca0ad07156bcee6e244c2df6f1a19bb05
x86/smp: Reduce code duplication

The CONFIG_X86_32_SMP and CONFIG_X86_64_SMP sections in smp.h contain
duplicate defines.

Merge them and only put the difference into an #ifdeff'ed section.

[ tglx: Massaged changelog ]

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: jaswinder@infradead.org
Link: http://lkml.kernel.org/r/1491734806-15413-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/smp.h