]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce43b72db509448a59832f28e18e2641bb1064cc
tree45687781c1ecfe7a5bb5f7f730e5a2620554f67e
parentc57dba76d76d998039d9e1338138b6a23503aef5
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