kernel-hacking-2024-linux-s.../arch/ppc
Paul Mackerras 467c37801c [POWERPC] Fix irq enable/disable in smp_generic_take_timebase
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>
2006-08-30 16:10:47 +10:00
..
4xx_io Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
8xx_io Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
8260_io [PATCH] irq-flags: PPC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
amiga Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
boot Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
configs ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
kernel [POWERPC] Fix irq enable/disable in smp_generic_take_timebase 2006-08-30 16:10:47 +10:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mm Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
platforms [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
syslib [POWERPC] back up old school ipic.[hc] to arch/ppc 2006-08-30 10:34:33 +10:00
xmon Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] KConfig: Spellchecking 'similarity' and 'independent' 2006-06-29 11:59:14 -07:00
Kconfig.debug ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
Makefile Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc 2006-03-28 17:03:19 +11:00