]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: Fix softirq accounting with 4K stacks
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Sun, 25 Jun 2006 14:24:40 +0000 (16:24 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 18:32:44 +0000 (11:32 -0700)
commita5d157e0675ac11188a8d429a062b1938bb2d353
tree152d75b3ecda85427a92808ec363bc4d1c9bd243
parent1d77062b1402aef5b26e1d3776991126e8026bde
[PATCH] i386: Fix softirq accounting with 4K stacks

Copy the softirq bits in preempt_count from the current context into the
hardirq context when using 4K stacks to make the softirq_count macro work
correctly and thereby fix softirq cpu time accounting.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/irq.c