aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorXiao Guangrong <[email protected]>2009-08-20 20:23:11 +0800
committerIngo Molnar <[email protected]>2009-08-21 16:40:30 +0200
commit8126dec32738421afa362114337331337b4be17f (patch)
tree2de6e2c7f543d2b750ab5402ec8046d9b929211f /drivers/mtd/lpddr/lpddr_cmds.c
parentfc0ce23506d943b9eaa731a051769d0e0605eb03 (diff)
x86: Fix system crash when loading with "reservetop" parameter
The system will die if the kernel is booted with "reservetop" parameter, in present code, parse "reservetop" parameter after early_ioremap_init(), and some function still use early_ioremap() after it. The problem is, "reservetop" parameter can modify 'FIXADDR_TOP', then the virtual address got by early_ioremap() is base on old 'FIXADDR_TOP', but the page mapping is base on new 'FIXADDR_TOP', it will occur page fault, and the IDT is not prepare yet, so, the system is dead. So, put parse_early_param() in the front of early_ioremap_init() in this patch. Signed-off-by: Xiao Guangrong <[email protected]> Cc: [email protected] Cc: Andrew Morton <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions