linux-hardened/arch/x86/mach-voyager
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
..
Makefile i386: move kernel 2007-10-11 11:17:01 +02:00
setup.c x86: cleanup machine_specific_memory_setup, v2 2008-07-08 10:39:01 +02:00
voyager_basic.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
voyager_cat.c x86, voyager: fix ioremap_nocache() 2008-04-30 23:15:34 +02:00
voyager_smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
voyager_thread.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00