]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3983/2: remove unused argument to __bug()
authorNicolas Pitre <nico@cam.org>
Thu, 7 Dec 2006 18:09:20 +0000 (19:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 22:38:09 +0000 (22:38 +0000)
commitb325fe2d346433592a191b73fbb3b4540cd95471
tree0e8982dbf5df32675cf9f1968ca97384059c945e
parent748ee3598d7b1061494fea39c2b2474603a23a22
[ARM] 3983/2: remove unused argument to __bug()

It appears that include/asm-arm/bug.h requires include/linux/stddef.h
for the definition of NULL. It seems that stddef.h was always included
indirectly in most cases, and that issue was properly fixed a while ago.

Then commit ef5771694e87af33305282c7ffdf826064d789e0 incorrectly reverted
change from commit 143deffd09df11080b0b55a9e8025ceb8c6eadd3 (bad dwmw2)
and the problem recently resurfaced.

Because the third argument to __bug() is never used anyway, RMK suggested
getting rid of it entirely instead of readding #include <linux/stddef.h>
which this patch does.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
include/asm-arm/bug.h