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 <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
#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