]> git.baikalelectronics.ru Git - kernel.git/commit
frv: fix irqs_disabled() to return an int, not an unsigned long
authorDavid Howells <dhowells@redhat.com>
Sat, 12 Jul 2008 20:47:58 +0000 (13:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Jul 2008 21:33:42 +0000 (14:33 -0700)
commit674ba863e755b013b45ae951c4bd6dde34950ceb
treeec6c77178bde80b95bd654b47ac3b615135772ed
parent377e6a1cf2a32640865ce58827bf2cc79fead2c4
frv: fix irqs_disabled() to return an int, not an unsigned long

Fix FRV irqs_disabled() to return an int, not an unsigned long to avoid
this warning:

kernel/sched.c: In function '__might_sleep':
kernel/sched.c:8198: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-frv/system.h