android_kernel_motorola_sm6225/arch/arm/kernel
Russell King 7bbb794031 [ARM] Fix SMP initialisation oops
A change to the SMP initialisation caused the following oops:

 CPU1: Booted secondary processor
 CPU1: D VIPT write-back cache
 CPU1: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
 CPU1: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
 <7>Calibrating delay loop... 83.14 BogoMIPS (lpj=415744)
 <1>Unable to handle kernel NULL pointer dereference at virtual address 0000001c
 ...
 PC is at enqueue_task+0x1c/0x64
 LR is at activate_task+0xcc/0xe4

SMP initialisation now requires cpu_possible_map to be initialised in
setup_arch().  Move this from smp_prepare_cpus() to smp_init_cpus()
and call it from our setup_arch() if CONFIG_SMP is enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-02-16 11:08:09 +00:00
..
apm.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
armksyms.c [ARM] 3104/1: ARM EABI: new helper function names 2006-01-14 16:18:29 +00:00
arthur.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
asm-offsets.c [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
bios32.c [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
calls.S [ARM] 3308/1: old ABI compat: struct sockaddr_un 2006-02-08 21:19:36 +00:00
compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-isa.c [ARM] Remove '__address' from scatterlist and convert to DMA API 2006-01-04 15:08:30 +00:00
dma.c [ARM] Move DMA exports to be next to each function 2006-01-04 15:52:45 +00:00
ecard.c [PATCH] Add ecard_bus_type probe/remove/shutdown methods 2006-01-13 11:26:05 -08:00
entry-armv.S [ARM] 3310/1: add a comment about the possible __kuser_cmpxchg transient false 2006-02-08 21:19:37 +00:00
entry-common.S [ARM] safer handling of syscall table padding 2006-01-19 12:57:01 +00:00
entry-header.S [ARM] 3102/1: ARM EABI: stack pointer must be 64-bit aligned after a CPU exception 2006-01-14 16:18:08 +00:00
fiq.c [ARM] 3256/1: Make the function-returning ldm's use sp as the base register 2006-01-12 16:53:51 +00:00
head.S [ARM] 3259/1: remove phys_ram from struct machine_desc (part 1) 2006-01-13 20:51:46 +00:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c [ARM] Fix compiler warnings for memcpy_toio/memcpy_fromio/memset_io 2005-09-24 10:42:06 +01:00
irq.c [ARM] Only call set_type method in setup_irq if it's defined 2006-01-09 19:19:18 +00:00
isa.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iwmmxt.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
Makefile [ARM] 3109/1: old ABI compat: syscall wrappers for ABI impedance matching 2006-01-14 16:35:31 +00:00
module.c [ARM] 3205/1: Handle new EABI relocations when loading kernel modules. 2005-12-14 22:04:22 +00:00
process.c [PATCH] arm: task_stack_page() 2006-01-12 09:08:56 -08:00
ptrace.c [ARM] 3262/4: allow ptraced syscalls to be overriden 2006-01-14 19:30:04 +00:00
ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.c [ARM] 3103/1: ARM EABI: stack pointer must be 64-bit aligned (part 2) 2006-01-14 16:18:09 +00:00
setup.c [ARM] Fix SMP initialisation oops 2006-02-16 11:08:09 +00:00
signal.c [ARM] 3270/1: ARM EABI: fix sigreturn and rt_sigreturn 2006-01-18 22:38:47 +00:00
signal.h [ARM] 3270/1: ARM EABI: fix sigreturn and rt_sigreturn 2006-01-18 22:38:47 +00:00
smp.c [ARM] Fix SMP initialisation oops 2006-02-16 11:08:09 +00:00
sys_arm.c [ARM] 3110/5: old ABI compat: multi-ABI syscall entry support 2006-01-14 16:36:12 +00:00
sys_oabi-compat.c [ARM] 3308/1: old ABI compat: struct sockaddr_un 2006-02-08 21:19:36 +00:00
time.c [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
traps.c [ARM] 3105/4: ARM EABI: new syscall entry convention 2006-01-14 16:31:29 +00:00
vmlinux.lds.S [ARM] Make kernel link address depend on PAGE_OFFSET 2006-01-03 17:28:33 +00:00