x86: fix 64k corruption-check
commit6d7942dc2a70a7e74c352107b150265602671588
authorYinghai Lu <yinghai@kernel.org>
Sat, 14 Mar 2009 21:32:41 +0000 (14 14:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 15 Mar 2009 06:03:15 +0000 (15 07:03 +0100)
treef7df27a6e206061fcdecf2df71e46824098386b7
parent78a8b35bc7abf8b8333d6f625e08c0f7cc1c3742
x86: fix 64k corruption-check

Impact: fix boot crash

Need to exit early if the addr is far above 64k.

The crash got exposed by:

  78a8b35: x86: make e820_update_range() handle small range update

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: <stable@kernel.org>
LKML-Reference: <49BC2279.2030101@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/check.c