diff options
author | Anton Blanchard <anton@samba.org> | 2014-09-17 06:39:36 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-02 09:33:55 +0200 |
commit | 3e47d1474c2b4099f0fadd12a6553fdb2e8feaae (patch) | |
tree | 8d7dee7104d3198cc7ca3d2789a0e0b8846f83ca /arch/powerpc/mm/init_32.c | |
parent | powerpc: Use pr_fmt in module loader code (diff) | |
download | linux-3e47d1474c2b4099f0fadd12a6553fdb2e8feaae.tar.xz linux-3e47d1474c2b4099f0fadd12a6553fdb2e8feaae.zip |
powerpc: Remove powerpc specific cmd_line
There is no need for yet another copy of the command line, just
use boot_command_line like everyone else.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
-rw-r--r-- | arch/powerpc/mm/init_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c index cff59f1bec23..cad68ff8eca5 100644 --- a/arch/powerpc/mm/init_32.c +++ b/arch/powerpc/mm/init_32.c @@ -106,11 +106,11 @@ unsigned long __max_low_memory = MAX_LOW_MEM; void MMU_setup(void) { /* Check for nobats option (used in mapin_ram). */ - if (strstr(cmd_line, "nobats")) { + if (strstr(boot_command_line, "nobats")) { __map_without_bats = 1; } - if (strstr(cmd_line, "noltlbs")) { + if (strstr(boot_command_line, "noltlbs")) { __map_without_ltlbs = 1; } #ifdef CONFIG_DEBUG_PAGEALLOC |