lkml.org 
[lkml]   [2004]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] Clean up asm/pgalloc.h include (ppc)
Date
This patch cleans up needless includes of asm/pgalloc.h from the
arch/ppc/ subtree. This has not been compile tested, so
needs the architecture maintainers (or willing volunteers) to
test.

Please ensure that at least the first two patches have already
been applied to your tree; they can be found at:

http://lkml.org/lkml/2004/4/18/86
http://lkml.org/lkml/2004/4/18/87

This patch is part of a larger patch aiming towards getting the
include of asm/pgtable.h out of linux/mm.h, so that asm/pgtable.h
can sanely get at things like mm_struct and friends.

In the event that any of these files fails to build, chances are
you need to include some other header file rather than pgalloc.h.
Normally this is either asm/pgtable.h (unlikely), asm/cacheflush.h
or asm/tlbflush.h.

===== arch/ppc/mm/44x_mmu.c 1.3 vs edited =====
--- 1.3/arch/ppc/mm/44x_mmu.c Fri Feb 13 15:24:55 2004
+++ edited/arch/ppc/mm/44x_mmu.c Mon Apr 19 13:40:33 2004
@@ -42,7 +42,6 @@
#include <linux/bootmem.h>
#include <linux/highmem.h>

-#include <asm/pgalloc.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
===== arch/ppc/mm/4xx_mmu.c 1.7 vs edited =====
--- 1.7/arch/ppc/mm/4xx_mmu.c Fri Sep 12 17:26:52 2003
+++ edited/arch/ppc/mm/4xx_mmu.c Mon Apr 19 13:40:33 2004
@@ -39,7 +39,6 @@
#include <linux/bootmem.h>
#include <linux/highmem.h>

-#include <asm/pgalloc.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
===== arch/ppc/mm/cachemap.c 1.14 vs edited =====
--- 1.14/arch/ppc/mm/cachemap.c Thu Apr 1 20:45:32 2004
+++ edited/arch/ppc/mm/cachemap.c Mon Apr 19 13:40:33 2004
@@ -37,7 +37,6 @@
#include <linux/highmem.h>
#include <linux/dma-mapping.h>

-#include <asm/pgalloc.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/hardirq.h>
===== arch/ppc/mm/init.c 1.34 vs edited =====
--- 1.34/arch/ppc/mm/init.c Thu Feb 5 05:11:47 2004
+++ edited/arch/ppc/mm/init.c Mon Apr 19 13:40:33 2004
@@ -32,7 +32,6 @@
#include <linux/highmem.h>
#include <linux/initrd.h>

-#include <asm/pgalloc.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.148 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site