[LinuxPPS] 12 Jul 21:33 - frv: fix irqs_disabled() to return an int, not an unsigned long

linuxpps: David Howells <> webmaster at enneenne.com
Sun Jul 20 13:15:07 CEST 2008


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   
Signed-off-by: Andrew Morton   
Signed-off-by: Linus Torvalds   
  
include/asm-frv/system.h

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=d3297a644a0ab784e0c810ceca6bf35a67868ad9



More information about the LinuxPPS mailing list