• A
    kernel: clean up USE_GENERIC_SMP_HELPERS · 351f8f8e
    Amerigo Wang 提交于
    For arch which needs USE_GENERIC_SMP_HELPERS, it has to select
    USE_GENERIC_SMP_HELPERS, rather than leaving a choice to user, since they
    don't provide their own implementions.
    
    Also, move on_each_cpu() to kernel/smp.c, it is strange to put it in
    kernel/softirq.c.
    
    For arch which doesn't use USE_GENERIC_SMP_HELPERS, e.g.  blackfin, only
    on_each_cpu() is compiled.
    Signed-off-by: NAmerigo Wang <amwang@redhat.com>
    Cc: David Howells <dhowells@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    351f8f8e
Kconfig 68.4 KB