linux-kernel-test/arch/sparc/kernel
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
..
apc.c sparc: arch/sparc/kernel/apc.c to unlocked_ioctl 2008-07-17 21:56:16 -07:00
asm-offsets.c sparc: Remove Sparc's asm-offsets for sclow.S 2008-07-19 00:44:32 -07:00
auxio.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
cpu.c [SPARC]: Mark linux_sparc_{fpu,chips} static. 2008-02-28 21:46:59 -08:00
devices.c [SPARC]: Add missing of_node_put 2007-12-05 05:38:00 -08:00
ebus.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
entry.S sparc: Use tracehook routines in syscall_trace(). 2008-07-27 17:33:14 -07:00
etrap.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
head.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
idprom.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
ioport.c sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
irq.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
irq.h [SPARC32]: Take enable_irq/disable_irq out of line. 2007-07-21 19:19:38 -07:00
kgdb.c sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
led.c sparc: switch /proc/led to seq_file 2008-06-03 15:21:21 -07:00
Makefile sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
module.c
muldiv.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
of_device.c sparc: Fix resource flags for PCI children in OF device tree. 2008-08-28 22:59:10 -07:00
pcic.c xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
pmc.c
process.c sparc: Use new '%pS' infrastructure to print symbols. 2008-07-17 22:11:32 -07:00
prom.c [SPARC]: Centralize find_in_proplist() instead of duplicating N times. 2007-08-07 18:46:36 -07:00
ptrace.c sparc: Use tracehook routines in syscall_trace(). 2008-07-27 17:33:14 -07:00
rtrap.S sparc: Create and use TIF_NOTIFY_RESUME. 2008-07-27 17:33:37 -07:00
setup.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
signal.c sparc: Add call to tracehook_signal_handler(). 2008-07-27 17:33:44 -07:00
smp.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
sparc_ksyms.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
sun4c_irq.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
sun4d_irq.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
sun4d_smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
sun4m_irq.c sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
sun4m_smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
sun4setup.c
sys_sparc.c flag parameters: pipe 2008-07-24 10:47:28 -07:00
systbls.S sparc: Wire up new system calls. 2008-07-25 15:18:31 -07:00
tadpole.c
tick14.c [SPARC32]: Take enable_irq/disable_irq out of line. 2007-07-21 19:19:38 -07:00
time.c sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
trampoline.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
traps.c sparc: Use new '%pS' infrastructure to print symbols. 2008-07-17 22:11:32 -07:00
una_asm.S [SPARC]: Fix link errors with gcc-4.3 2008-03-03 15:01:05 -08:00
unaligned.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
vmlinux.lds.S [SPARC]: Merge asm-sparc{,64}/cache.h 2008-02-09 04:17:37 -08:00
windows.c
wof.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00
wuf.S sparc/kernel/: possible cleanups 2008-07-17 21:37:46 -07:00