android_kernel_samsung_msm8976/arch/powerpc
Paul Mackerras d6a29252ad [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs
On the old "powersurge" SMP powermacs, the second CPU is started up
by sending it an IPI, which has the side effect of stopping the
timebase clock (so the secondary CPU's timebase can be synchronized
with the primary's).  The routine that did this used udelay, which
will hang forever when the timebase is stopped, since udelay now spins
until the timebase reaches a certain value.

The end result is that the kernel would hang when bringing up the
second CPU.  This fixes it by using a simple loop which just does a
fixed number of iterations to generate the delay.  These old systems
were all clocked at around 200 MHz or so, so a fixed number of
iterations is acceptable.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-10 13:51:00 +10:00
..
boot [POWERPC] cell: fix default zImage build target 2006-10-10 11:54:26 +10:00
configs [POWERPC] Update maple defconfig 2006-10-10 11:54:26 +10:00
kernel Merge git://git.infradead.org/~dhowells/irq-2.6 2006-10-09 14:29:26 -07:00
lib [POWERPC] Fix rheap alignment problem 2006-10-02 20:27:47 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work 2006-10-04 15:02:27 +10:00
oprofile fix file specification in comments 2006-10-03 23:01:26 +02:00
platforms [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs 2006-10-10 13:51:00 +10:00
sysdev [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
xmon [POWERPC] Fix xmon IRQ handler for pt_regs removal 2006-10-10 11:47:07 +10:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-10-04 08:16:37 -07:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00