]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Don't check for BIOS corruption in first 64K when there's no need to
authorNaga Chumbalkar <nagananda.chumbalkar@hp.com>
Fri, 25 Feb 2011 20:31:55 +0000 (20:31 +0000)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Mar 2011 15:36:41 +0000 (16:36 +0100)
commita638cfabf028f7f9324e0595ca1a539eca64561f
treee95391ec6377259619788d938bdea441138d8064
parent8660db53183fbd2b970bf4f2ebe892e4b6514f41
x86: Don't check for BIOS corruption in first 64K when there's no need to

Due to commit d9304e4a6b79227a2ff8726d2b8ea2d55f9c15ab it is
likely that the number of areas to scan for BIOS corruption is 0
 -- especially when the first 64K is already reserved
(X86_RESERVE_LOW is 64K by default).

If that's the case then don't set up the scan.

Signed-off-by: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: <stable@kernel.org>
LKML-Reference: <20110225202838.2229.71011.sendpatchset@nchumbalkar.americas.hpqcorp.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/check.c