From: Tang Chen Date: Tue, 23 Jul 2013 08:00:19 +0000 (+0800) Subject: x86/acpi: Fix incorrect sanity check in acpi_register_lapic() X-Git-Tag: v3.12-rc1~165^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82982d729319e975115d88cae4927dffb02bfea7;p=pandora-kernel.git x86/acpi: Fix incorrect sanity check in acpi_register_lapic() We wanted to check if the APIC ID is out of range. It should be: if (id >= MAX_LOCAL_APIC) There's no known bad effect of this bug. Signed-off-by: Tang Chen Reviewed-by: Len Brown Cc: pavel@ucw.cz Cc: rjw@sisk.pl Link: http://lkml.kernel.org/r/1374566419-21120-1-git-send-email-tangchen@cn.fujitsu.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed