]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: clean up unused macro
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Aug 2004 03:33:05 +0000 (20:33 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 03:33:05 +0000 (20:33 -0700)
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>
include/asm-ppc64/mmu.h

index 353b3db621057a2d9004f25a942479675ee11cf2..dde94156b32b1fdda7f1a82c683d39db368fe343 100644 (file)
@@ -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