linux/arch/powerpc
Benjamin Herrenschmidt e6768a4f39 [POWERPC] Fixup softirq preempt count
This fixes the handling of the preempt count when switching
interrupt stacks so that HW interrupt properly get the softirq
mask copied over from the previous stack.

It also initializes the softirq stack preempt_count to 0 instead
of SOFTIRQ_OFFSET, like x86, as __do_softirq() does the increment,
and we hit some lockdep checks if we have it twice.

That means we do run for a little while off the softirq stack
with the preempt-count set to 0, which could be deadly if we
try to take a softirq at that point, however we do so with
interrupts disabled, so I think we are ok.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-17 07:46:11 +10:00
..
boot [POWERPC] prpmc2800 needs a dtbImage 2008-04-15 21:21:25 +10:00
configs [POWERPC] 4xx: Add ppc40x_defconfig 2008-04-16 07:31:57 -05:00
kernel [POWERPC] Fixup softirq preempt count 2008-04-17 07:46:11 +10:00
lib [POWERPC] Add hand-coded assembly strcmp 2008-04-07 10:03:03 +10:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms [POWERPC] celleb: Coding style cleanup 2008-04-17 07:46:10 +10:00
sysdev Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/olof/pasemi 2008-04-17 07:45:35 +10:00
xmon [POWERPC] iSeries: Make iseries_reg_save private to iSeries 2008-04-15 21:21:25 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Fix MAX_ORDER config problem 2008-04-15 21:21:23 +10:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile [POWERPC] add target for building .dtb files 2008-04-02 20:29:11 -05:00