linux-kernel-test/arch/sparc
Manfred Spraul e545a6140b kernel/cpu.c: create a CPU_STARTING cpu_chain notifier
Right now, there is no notifier that is called on a new cpu, before the new
cpu begins processing interrupts/softirqs.
Various kernel function would need that notification, e.g. kvm works around
by calling smp_call_function_single(), rcu polls cpu_online_map.

The patch adds a CPU_STARTING notification. It also adds a helper function
that sends the message to all cpu_chain handlers.

Tested on x86-64.
All other archs are untested. Especially on sparc, I'm not sure if I got
it right.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-08 19:25:24 +02:00
..
boot sparc: Add target for a stripped kernel 2008-08-24 20:35:47 -07:00
include/asm sparc32: Implement smp_call_function_single(). 2008-08-27 20:03:22 -07:00
kernel kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
lib sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
math-emu sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
mm mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
defconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig sparc: Set CONFIG_HAVE_ARCH_TRACEHOOK 2008-07-27 17:34:02 -07:00
Kconfig.debug [SPARC32]: Add irqflags.h to sparc32 and use it from generic code. 2007-10-13 21:53:11 -07:00
Makefile sparc: Add target for a stripped kernel 2008-08-24 20:35:47 -07:00