Re: [PATCH] Clean up asm/pgalloc.h include (H8300)

From: Russell King
Date: Mon Apr 19 2004 - 09:15:40 EST


*** H8300 doesn't seem to have a maintainer ***

This patch cleans up needless includes of asm/pgalloc.h from the
arch/h8300/ 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/h8300/kernel/h8300_ksyms.c 1.2 vs edited =====
--- 1.2/arch/h8300/kernel/h8300_ksyms.c Wed Sep 24 07:15:36 2003
+++ edited/arch/h8300/kernel/h8300_ksyms.c Mon Apr 19 13:34:39 2004
@@ -10,7 +10,6 @@
#include <linux/config.h>

#include <asm/setup.h>
-#include <asm/pgalloc.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/semaphore.h>
===== arch/h8300/mm/kmap.c 1.1 vs edited =====
--- 1.1/arch/h8300/mm/kmap.c Mon Feb 17 00:01:58 2003
+++ edited/arch/h8300/mm/kmap.c Mon Apr 19 13:34:39 2004
@@ -19,7 +19,6 @@
#include <asm/setup.h>
#include <asm/segment.h>
#include <asm/page.h>
-#include <asm/pgalloc.h>
#include <asm/io.h>
#include <asm/system.h>

-
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/