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

From: Russell King
Date: Mon Apr 19 2004 - 08:36:37 EST

*** m68knommu does not appear to have a maintainer listed ***

This patch cleans up needless includes of asm/pgalloc.h from the
arch/m68knommu/ subtree. This has not been compile tested, so
needs the architecture maintainers (or willing volunteers) to

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

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/m68knommu/kernel/m68k_ksyms.c 1.3 vs edited =====
--- 1.3/arch/m68knommu/kernel/m68k_ksyms.c Mon Mar 31 23:29:49 2003
+++ edited/arch/m68knommu/kernel/m68k_ksyms.c Mon Apr 19 13:37:30 2004
@@ -11,7 +11,6 @@

#include <asm/setup.h>
#include <asm/machdep.h>
-#include <asm/pgalloc.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/semaphore.h>
===== arch/m68knommu/mm/kmap.c 1.1 vs edited =====
--- 1.1/arch/m68knommu/mm/kmap.c Fri Nov 1 15:19:55 2002
+++ edited/arch/m68knommu/mm/kmap.c Mon Apr 19 13:37:30 2004
@@ -16,7 +16,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
Please read the FAQ at