[PATCH] get_cpu_sysdev() signedness fix
authorAndrew Morton <akpm@osdl.org>
Wed, 8 Mar 2006 07:53:25 +0000 (23:53 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:42:59 +0000 (13:42 -0800)
commita29d642a4aa99c5234314ab2523281139226c231
tree818996643addcea3963dd143a94ce3c293f225fd
parent7423172a50968de1905a61413c52bb070a62f5ce
[PATCH] get_cpu_sysdev() signedness fix

Doing (int < NR_CPUS) doesn't dtrt if it's negative..

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/cpu.c
include/linux/cpu.h