467c37801c
Eran Ben-Avi <eranpublic@yahoo.com> pointed out that the arch/ppc version of smp_generic_take_timebase disables interrupts on entry but exits without restoring them. However, both it and the arch/powerpc version have another problem, which is that they use local_irq_disable/enable rather than local_irq_save/restore, and they are called with interrupts disabled. This fixes both problems; it changes a return to a break in the arch/ppc version, and changes both versions to use local_irq_save/restore. Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
cpu_setup_power4.S | ||
dma-mapping.c | ||
entry.S | ||
head_4xx.S | ||
head_8xx.S | ||
head_44x.S | ||
head_booke.h | ||
head_fsl_booke.S | ||
head.S | ||
machine_kexec.c | ||
Makefile | ||
misc.S | ||
pci.c | ||
ppc_htab.c | ||
ppc_ksyms.c | ||
ppc-stub.c | ||
relocate_kernel.S | ||
rio.c | ||
semaphore.c | ||
setup.c | ||
smp-tbsync.c | ||
smp.c | ||
softemu8xx.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |