]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7174d852603ced7a161f47c6e3958073706114a9
tree0e8982dbf5df32675cf9f1968ca97384059c945e
parentca7aa4de81178babca16df67a7b72a063a7c6891
[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 5047f09b56d0bc3c21aec9cb16de60283da645c6 incorrectly reverted
change from commit ff10952a547dad934d9ed9afc5cf579ed1ccb53a (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