commit | 82982d729319e975115d88cae4927dffb02bfea7 | [log] [tgz] |
---|---|---|
author | Tang Chen <tangchen@cn.fujitsu.com> | Tue Jul 23 16:00:19 2013 +0800 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Jul 23 10:08:16 2013 +0200 |
tree | e4f4c5a48bbcb0cddfe341ec1d07b1b222a63aae | |
parent | b3a3a9c441e2c8f6b6760de9331023a7906a4ac6 [diff] |
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 <tangchen@cn.fujitsu.com> Reviewed-by: Len Brown <len.brown@intel.com> 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 <mingo@kernel.org>