From: Maciej W. Rozycki Date: Wed, 27 May 2015 13:15:15 +0000 (+0100) Subject: MIPS: tlb-r3k: Move CP0.Wired register initialisation to `tlb_init' X-Git-Tag: omap-for-v4.2/fixes-rc1^2~82^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bcb03f3a7160e411c5f335028a5c70b32f0edb7;p=pandora-kernel.git MIPS: tlb-r3k: Move CP0.Wired register initialisation to `tlb_init' Move the initialisation of the CP0.Wired register implemented by Toshiba TX3922 and TX3927 processors from `tx39_cache_init' to `tlb_init' where it belongs, correcting code structure and making sure initialisation does not rely on `tx39_cache_init' being called before `tlb_init' to work correctly. Make `r3k_have_wired_reg' static as it's no longer externally referred to; remove a stale declaration too. Signed-off-by: Maciej W. Rozycki Cc: James Hogan Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10195/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed