Skip to content

Commit abbdc3d

Browse files
David Daneyralfbaechle
authored andcommitted
MIPS: Cleanup forgotten label_module_alloc in tlbex.c
commit c8af165342e83a4eb078c9607d29a7c399d30a53 (lmo) rsp. e0cc87f (kernel.org) left label_module_alloc unused. Remove it now. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/752/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 066000d commit abbdc3d

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎arch/mips/mm/tlbex.c‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ static int __cpuinit m4kc_tlbp_war(void)
7373
enum label_id {
7474
label_second_part = 1,
7575
label_leave,
76-
#ifdef MODULE_START
77-
label_module_alloc,
78-
#endif
7976
label_vmalloc,
8077
label_vmalloc_done,
8178
label_tlbw_hazard,
@@ -92,9 +89,6 @@ enum label_id {
9289

9390
UASM_L_LA(_second_part)
9491
UASM_L_LA(_leave)
95-
#ifdef MODULE_START
96-
UASM_L_LA(_module_alloc)
97-
#endif
9892
UASM_L_LA(_vmalloc)
9993
UASM_L_LA(_vmalloc_done)
10094
UASM_L_LA(_tlbw_hazard)
@@ -818,8 +812,6 @@ static void __cpuinit build_r4000_tlb_refill_handler(void)
818812
} else {
819813
#if defined(CONFIG_HUGETLB_PAGE)
820814
const enum label_id ls = label_tlb_huge_update;
821-
#elif defined(MODULE_START)
822-
const enum label_id ls = label_module_alloc;
823815
#else
824816
const enum label_id ls = label_vmalloc;
825817
#endif

0 commit comments

Comments
 (0)