Commit c46cde9d authored by David Gibson's avatar David Gibson Committed by Linus Torvalds

[PATCH] ppc64: clean up unused macro

After the recent SLB and STAB cleanups, the ppc64 KERNEL_CONTEXT() macro is
no longer used anywhere.  This patch removes it.
Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3c2dde6d
......@@ -27,16 +27,6 @@ typedef struct {
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment