From: Ashok Raj Date: Tue, 28 Mar 2006 22:04:00 +0000 (-0500) Subject: ACPI: build fix for u8 cpu_index X-Git-Tag: v2.6.18-rc1~1081^2~19^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df42baa0d8e54df18dd9366dd7c93d6be7d5d063;p=pandora-kernel.git ACPI: build fix for u8 cpu_index Local apic entries are only 8 bits, but it seemed to not be caught with u8 return value result in the check cpu_index >= NR_CPUS becomming always false. drivers/acpi/processor_core.c: In function `acpi_processor_get_info': drivers/acpi/processor_core.c:483: warning: comparison is always false due to limited range of data type Signed-off-by: Ashok Raj Cc: Dave Jones Cc: Kenji Kaneshige Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed