aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@ozlabs.org>2008-04-09 17:21:28 +1000
committerPaul Mackerras <paulus@samba.org>2008-04-17 07:46:11 +1000
commite6768a4f392d05bc11ed508d35938932c73aac5a (patch)
tree29c04586b34437d80626222e4660926dda428cc7 /drivers/net/iseries_veth.c
parent[POWERPC] Initialize paca->current earlier (diff)
downloadlinux-dev-e6768a4f392d05bc11ed508d35938932c73aac5a.tar.xz
linux-dev-e6768a4f392d05bc11ed508d35938932c73aac5a.zip
[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>
Diffstat (limited to 'drivers/net/iseries_veth.c')
0 files changed, 0 insertions, 0 deletions