Clean up unused macro
Andrew, please apply:
After the recent SLB and STAB cleanups, the ppc64 KERNEL_CONTEXT() macro is no longer used anywhere. This patch removes it.
Signed-off-by David Gibson <[email protected]>
include/asm-ppc64/mmu.h +0 -10
@@ -27,16 +27,6 @@#endif } mm_context_t; -#ifdef CONFIG_HUGETLB_PAGE -#define KERNEL_LOW_HPAGES .htlb_segs = 0, -#else -#define KERNEL_LOW_HPAGES -#endif - -#define KERNEL_CONTEXT (ea) ({ \ - mm_context_t ctx = { .id = REGION_ID(ea), KERNEL_LOW_HPAGES}; \ - ctx; }) -#define STE_ESID_V 0x80#define STE_ESID_KS 0x20#define STE_ESID_KP 0x10
Signature · 4 lines
David Gibson | For every complex problem there is a david AT gibson.dropbear.id.au | solution which is simple, neat and | wrong. http://www.ozlabs.org/people/dgibson