MIPS: tlbex: fix broken build in v3.11-rc1
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 15 Jul 2013 07:21:57 +0000 (07:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 19 Jul 2013 08:36:10 +0000 (10:36 +0200)
Commit 6ba045f9fbdafb48da42aa8576ea7a3980443136 (MIPS: Move generated code
to .text for microMIPS) deleted tlbmiss_handler_setup_pgd_array, but some
references were not converted. Fix that to enable building a MIPS kernel.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Jayachandran C. <jchandra@broadcom.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5589/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c

index 605b6fc13697da507429d3410c3a566e21f2fdda..523775d7a20e79ad26bae41362481e43c7664b24 100644 (file)
@@ -1466,7 +1466,7 @@ static void __cpuinit build_r4000_setup_pgd(void)
 {
        const int a0 = 4;
        const int a1 = 5;
-       u32 *p = tlbmiss_handler_setup_pgd_array;
+       u32 *p = tlbmiss_handler_setup_pgd;
        const int tlbmiss_handler_setup_pgd_size =
                tlbmiss_handler_setup_pgd_end - tlbmiss_handler_setup_pgd;
        struct uasm_label *l = labels;