android_kernel_xiaomi_sm8350/arch/arm/mach-integrator
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core.c [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
cpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
headsmp.S [PATCH] ARM SMP: Add missed files from Integrator/CP platform 2005-06-19 09:52:07 +01:00
impd1.c [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
integrator_ap.c [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
integrator_cp.c [ARM] 3289/1: Enable the LCD support for Integrator/CP 2006-01-28 20:54:50 +00:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds.c [PATCH] ARM SMP: Add basic support Integrator/CP platform 2005-06-18 10:15:46 +01:00
lm.c [PATCH] Add logic module bus_type probe/remove methods 2006-01-13 11:26:05 -08:00
Makefile [PATCH] ARM SMP: Add basic support Integrator/CP platform 2005-06-18 10:15:46 +01:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_v3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platsmp.c [ARM] Fix SMP initialisation oops 2006-02-16 11:08:09 +00:00
time.c [PATCH] move rtc_interrupt() prototype to rtc.h 2006-01-08 20:13:47 -08:00