* [PPC64] Clean up unused macro
@ 2004-08-25 5:35 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2004-08-25 5:35 UTC (permalink / raw)
To: Andrew Morton; +Cc: Paul Mackerras, linuxppc64-dev, linux-kernel
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@au1.ibm.com>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-25 5:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25 5:35 [PPC64] Clean up unused macro David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox