[PPC64] Clean up unused macro

From: David Gibson
Date: Wed Aug 25 2004 - 00:47:33 EST


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 <dwg@xxxxxxxxxxx>

Index: working-2.6/include/asm-ppc64/mmu.h
===================================================================
--- working-2.6.orig/include/asm-ppc64/mmu.h 2004-08-23 17:40:55.311913488 +1000
+++ working-2.6/include/asm-ppc64/mmu.h 2004-08-23 17:41:59.696841960 +1000
@@ -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

--
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/