summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2412
diff options
context:
space:
mode:
authorThomas Gleinxer <tglx@linutronix.de>2011-10-14 13:44:41 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-10-23 22:22:58 +0200
commiteb0474544bc16a9dab53b26abd846e86ba814eb1 (patch)
treed065ba5fce871af8b02a8a8b55625084548ea3a0 /arch/arm/mach-s3c2412
parentARM: 7129/1: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY (diff)
downloadlinux-eb0474544bc16a9dab53b26abd846e86ba814eb1.tar.xz
linux-eb0474544bc16a9dab53b26abd846e86ba814eb1.zip
ARM: 7133/1: SMP: fix per cpu timer setup before the cpu is marked online
The problem is related to the early enabling of interrupts and the per cpu timer setup before the cpu is marked online. This doesn't need to be done in order to call calibrate_delay(). calibrate_delay() monitors jiffies, which are updated from the CPU which is waiting for the new CPU to set the online bit. So simply calibrate_delay() can be called on the new CPU just from the interrupt disabled region and move the local timer setup after stored the cpu data and before enabling interrupts. This solves both the cpu_online vs. cpu_active problem and the affinity setting of the per cpu timers. Signed-off-by: Thomas Gleinxer <tglx@linutronix.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2412')
0 files changed, 0 insertions, 0 deletions