]> git.baikalelectronics.ru Git - kernel.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)
commit4f5445bbed9c5127cec06e2c8918c8c4f6b5f153
tree0bdee1e4f388d0f358ac3fbd83dd2c075a2fd352
parent80e35eb115725b66521b2b31ca77d28073b773af
MIPS: Move processing of coherency kernel parameters earlier

Commit f50b78e176a0735e447a8e7ed279809ea063ac9a (jump-label: initialize
jump-label subsystem much earlier) caused MIPS to break, so this was
resolved with commit ac1a83c0436fcb75677ea379db4d6d80f8fd2139 (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