diff options
author | Paul Mackerras <paulus@samba.org> | 2006-08-30 02:10:47 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-30 02:10:47 -0400 |
commit | 467c37801c453849a2fe243c3226476ee3985868 (patch) | |
tree | b1e9dedf59ff9144945cb711a96274f4ca9bce62 /drivers/acpi/utilities | |
parent | e0d872d536bb93335d5905b09fe374a163486d43 (diff) |
[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>
Diffstat (limited to 'drivers/acpi/utilities')
0 files changed, 0 insertions, 0 deletions