Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc5efaa0 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Remove get_current_pgd().



It is unused in the tree.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3557/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent de14ca6a
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -37,12 +37,6 @@ extern void tlbmiss_handler_setup_pgd(unsigned long pgd);
		write_c0_xcontext((unsigned long) smp_processor_id() << 51); \
		write_c0_xcontext((unsigned long) smp_processor_id() << 51); \
	} while (0)
	} while (0)



static inline unsigned long get_current_pgd(void)
{
	return PHYS_TO_XKSEG_CACHED((read_c0_context() >> 11) & ~0xfffUL);
}

#else /* CONFIG_MIPS_PGD_C0_CONTEXT: using  pgd_current*/
#else /* CONFIG_MIPS_PGD_C0_CONTEXT: using  pgd_current*/


/*
/*