]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: Move processing of coherency kernel parameters earlier
authorShane McDonald <mcdonald.shane@gmail.com>
Thu, 14 Jun 2012 02:26:40 +0000 (02:26 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:16 +0000 (11:37 +0100)
commitb5b64f2ba434cd2082a89aecec4b4c1eaec742c0
tree0bdee1e4f388d0f358ac3fbd83dd2c075a2fd352
parent0f731711af2086e40a19420eddae1a589355e2ea
MIPS: Move processing of coherency kernel parameters earlier

Commit 97ce2c88f9ad42e3c60a9beb9fca87abf3639faa (jump-label: initialize
jump-label subsystem much earlier) caused MIPS to break, so this was
resolved with commit 6650df3c380e0db558dbfec63ed860402c6afb2a (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>
arch/mips/mm/c-r4k.c