mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
MIPS: Move processing of coherency kernel parameters earlier
Commit97ce2c88f9
(jump-label: initialize jump-label subsystem much earlier) caused MIPS to break, so this was resolved with commit6650df3c38
(MIPS: Move cache setup to setup_arch().). Unfortunately, after this commit, the coherency kernel parameters, cca and coherentio, are no longer processed before their values are used. This patch fixes this problem by marking them as early_param, which results in them being processed before they are needed. Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com> Acked-by: David Daney <david.daney@cavium.com> Cc: Ralf Baechle <ralf@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/3961 Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
0f731711af
commit
b5b64f2ba4
@ -1348,10 +1348,10 @@ static int __init cca_setup(char *str)
|
||||
{
|
||||
get_option(&str, &cca);
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
__setup("cca=", cca_setup);
|
||||
early_param("cca", cca_setup);
|
||||
|
||||
static void __cpuinit coherency_setup(void)
|
||||
{
|
||||
@ -1401,10 +1401,10 @@ static int __init setcoherentio(char *str)
|
||||
{
|
||||
coherentio = 1;
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
__setup("coherentio", setcoherentio);
|
||||
early_param("coherentio", setcoherentio);
|
||||
#endif
|
||||
|
||||
static void __cpuinit r4k_cache_error_setup(void)
|
||||
|
Loading…
Reference in New Issue
Block a user