Skip to content

Commit

Permalink
MIPS: tlbex: fix broken build in v3.11-rc1
Browse files Browse the repository at this point in the history
Commit 6ba045f (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 <[email protected]>
Acked-by: Jayachandran C. <[email protected]>
Acked-by: David Daney <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5589/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
aakoskin authored and ralfbaechle committed Jul 19, 2013
1 parent 628f065 commit 38a997a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 38a997a

Please sign in to comment.