]> err.no Git - linux-2.6/commit
x86: fix memory setup bug
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 26 Jun 2008 07:44:56 +0000 (00:44 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:42 +0000 (13:10 +0200)
commitb9d19f4a51447930db002409945ad40a7a373cb0
tree30e954d9d23f71eb9bc3b462c5ffde78b11588f4
parent383bc5cecc2ed0b8f44a25488660b03030425ef7
x86: fix memory setup bug

interesting...

[    0.000000]   mapped low ram: 0 - 20000000
[    0.000000]   low ram: 00000000 - 1fff0000
[    0.000000]   bootmap 00002000 - 00006000

max_pfn_mapped > max_low_pfn?

it seems init_memory_mapping reveals an old bug.

please check attached test patch.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c