original_kernel/arch/sh/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
..
cpu sh64: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y. 2008-09-05 14:51:28 +09:00
timers
vsyscall
.gitignore
Makefile
Makefile_32
Makefile_64
asm-offsets.c
cf-enabler.c sh: Move out the solution engine headers to arch/sh/include/mach-se/ 2008-07-29 21:41:37 +09:00
cpufreq.c
crash_dump.c
debugtraps.S
dump_task.c
early_printk.c
entry-common.S sh: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y. 2008-09-05 14:42:16 +09:00
head_32.S
head_64.S
init_task.c
io.c
io_generic.c
io_trapped.c
irq.c
kgdb_jmp.S
kgdb_stub.c
machine_kexec.c sh: fix kexec entry point for crash kernels 2008-08-28 14:53:03 +09:00
machvec.c
module.c sh: module_alloc() should be using vmalloc_exec(). 2008-08-04 13:34:29 +09:00
pm.c
process_32.c
process_64.c
ptrace_32.c sh: Fix up the audit arch endian specification. 2008-08-02 04:39:33 +09:00
ptrace_64.c sh: fix ptrace_64.c:user_disable_single_step() 2008-08-25 14:08:02 +09:00
relocate_kernel.S
setup.c sh: crash kernel resource fix 2008-08-28 14:52:58 +09:00
sh_bios.c
sh_ksyms_32.c sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc. 2008-08-11 20:17:49 +09:00
sh_ksyms_64.c
signal_32.c sh: Make syscall tracer use tracehook notifiers, add TIF_NOTIFY_RESUME. 2008-08-02 04:39:33 +09:00
signal_64.c sh: Make syscall tracer use tracehook notifiers, add TIF_NOTIFY_RESUME. 2008-08-02 04:39:33 +09:00
smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
stacktrace.c
sys_sh.c sh: fix semtimedop syscall 2008-08-28 14:53:22 +09:00
sys_sh32.c
sys_sh64.c
syscalls_32.S
syscalls_64.S
time_32.c
time_64.c
topology.c
traps.c
traps_32.c
traps_64.c
vmlinux.lds.S
vmlinux_32.lds.S
vmlinux_64.lds.S