From: Paul Mackerras Date: Wed, 30 Aug 2006 06:10:47 +0000 (+1000) Subject: [POWERPC] Fix irq enable/disable in smp_generic_take_timebase X-Git-Tag: v2.6.18-rc6~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467c37801c453849a2fe243c3226476ee3985868;p=pandora-kernel.git [POWERPC] Fix irq enable/disable in smp_generic_take_timebase Eran Ben-Avi 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 --- Reading git-diff-tree failed