[PATCH] arm: irqs_disabled() type fix
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Jun 2005 00:14:28 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:11 +0000 (18:46 -0700)
commit9a558cb4ec43ccbe82e2cf899ced37f29ac017df
tree360f64dcf8ecdb04371a2fd524fddb2424392564
parent9723d95d1076e9ef394ff26162fb0b47531089b0
[PATCH] arm: irqs_disabled() type fix

kernel/sched.c: In function `__might_sleep':
kernel/sched.c:5461: warning: int format, long unsigned int arg (arg 3)

We expect irqs_disabled() to return an int (poor man's bool).

Acked-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-arm/system.h