diff options
author | Anton Blanchard <anton@samba.org> | 2014-09-17 14:39:36 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-02 17:33:55 +1000 |
commit | 3e47d1474c2b4099f0fadd12a6553fdb2e8feaae (patch) | |
tree | 8d7dee7104d3198cc7ca3d2789a0e0b8846f83ca /drivers | |
parent | c7d1f6afe062d2dc4bb8109856519570f2fe3c13 (diff) | |
download | op-kernel-dev-3e47d1474c2b4099f0fadd12a6553fdb2e8feaae.zip op-kernel-dev-3e47d1474c2b4099f0fadd12a6553fdb2e8feaae.tar.gz |
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 'drivers')
-rw-r--r-- | drivers/cpufreq/pmac32-cpufreq.c | 2 | ||||
-rw-r--r-- | drivers/tty/hvc/hvc_vio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpufreq.c index 7615180..1f49d97 100644 --- a/drivers/cpufreq/pmac32-cpufreq.c +++ b/drivers/cpufreq/pmac32-cpufreq.c @@ -611,7 +611,7 @@ static int __init pmac_cpufreq_setup(void) struct device_node *cpunode; const u32 *value; - if (strstr(cmd_line, "nocpufreq")) + if (strstr(boot_command_line, "nocpufreq")) return 0; /* Get first CPU node */ diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index 5618b5f..f575a9b 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c @@ -452,7 +452,7 @@ void __init hvc_vio_init_early(void) return; #endif /* Check whether the user has requested a different console. */ - if (!strstr(cmd_line, "console=")) + if (!strstr(boot_command_line, "console=")) add_preferred_console("hvc", 0, NULL); hvc_instantiate(0, 0, ops); } |