]> 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)
commite0159aa57e8d453707d8de5f200e91bb6a90a5cb
tree0bdee1e4f388d0f358ac3fbd83dd2c075a2fd352
parentafea42f9cdb5ab7eb4d06d45055b2bdffe641f83
MIPS: Move processing of coherency kernel parameters earlier

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