android_kernel_xiaomi_sm8350/arch/arm/mach-realview
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
..
clock.c [ARM] Convert some arm semaphores to mutexes 2006-01-12 18:42:23 +00:00
clock.h [ARM] Add support for ARM RealView board 2005-10-31 14:25:02 +00:00
core.c [ARM] 3313/1: Use OSC4 instead of OSC1 for CLCD 2006-02-08 21:19:39 +00:00
core.h [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
headsmp.S [ARM SMP] Add Realview MPcore SMP support 2005-11-07 21:05:42 +00:00
hotplug.c [ARM SMP] Add CPU hotplug support for Realview MPcore 2005-11-09 13:50:57 +00:00
Kconfig [ARM] Remove useless 'default n' from Kconfig files 2006-01-13 21:09:17 +00:00
localtimer.c [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
Makefile [ARM SMP] Add CPU hotplug support for Realview MPcore 2005-11-09 13:50:57 +00:00
Makefile.boot [ARM] Add support for ARM RealView board 2005-10-31 14:25:02 +00:00
platsmp.c [ARM] Fix SMP initialisation oops 2006-02-16 11:08:09 +00:00
realview_eb.c [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00