public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH 2/2] Clean up asm/pgalloc.h include
Date: Sun, 18 Apr 2004 23:23:14 +0100	[thread overview]
Message-ID: <20040418232314.A2045@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20040418231720.C12222@flint.arm.linux.org.uk>; from rmk+lkml@arm.linux.org.uk on Sun, Apr 18, 2004 at 11:17:20PM +0100

This patch cleans up needless includes of asm/pgalloc.h from the
drivers/ subtree.  drivers/char/mem.c has been compile tested;
the others have not, since they are for non-x86 and non-ARM
architectures.

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.

I suggest testing in -mm for a while to ensure there aren't any
hidden arch issues.

 drivers/char/mem.c                  |    1 -
 drivers/net/82596.c                 |    1 -
 drivers/net/lasi_82596.c            |    1 -
 drivers/net/macsonic.c              |    1 -
 drivers/net/sun3lance.c             |    1 -
 drivers/parisc/ccio-dma.c           |    1 -
 drivers/parisc/ccio-rm-dma.c        |    1 -
 drivers/video/console/sticore.c     |    1 -
 sound/oss/dmasound/dmasound_atari.c |    1 -
 9 files changed, 9 deletions(-)

--- orig/drivers/char/mem.c	Thu Apr  1 19:33:15 2004
+++ linux/drivers/char/mem.c	Sun Apr 18 17:44:40 2004
@@ -26,7 +26,6 @@
 
 #include <asm/uaccess.h>
 #include <asm/io.h>
-#include <asm/pgalloc.h>
 
 #ifdef CONFIG_IA64
 # include <linux/efi.h>
--- orig/drivers/net/82596.c	Sat Mar 20 09:22:30 2004
+++ linux/drivers/net/82596.c	Sun Apr 18 23:11:16 2004
@@ -58,7 +58,6 @@
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/pgtable.h>
-#include <asm/pgalloc.h>
 
 static char version[] __initdata =
 	"82596.c $Revision: 1.5 $\n";
--- orig/drivers/net/lasi_82596.c	Sat Mar 20 09:22:33 2004
+++ linux/drivers/net/lasi_82596.c	Sun Apr 18 23:11:27 2004
@@ -87,7 +87,6 @@
 #include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
-#include <asm/pgalloc.h>
 #include <asm/irq.h>
 #include <asm/pdc.h>
 #include <asm/cache.h>
--- orig/drivers/net/macsonic.c	Wed Feb 18 22:34:13 2004
+++ linux/drivers/net/macsonic.c	Sun Apr 18 23:11:39 2004
@@ -53,7 +53,6 @@
 #include <asm/macintosh.h>
 #include <asm/macints.h>
 #include <asm/mac_via.h>
-#include <asm/pgalloc.h>
 
 #define SREGS_PAD(n)    u16 n;
 
--- orig/drivers/net/sun3lance.c	Fri Mar 19 11:56:02 2004
+++ linux/drivers/net/sun3lance.c	Sun Apr 18 23:11:50 2004
@@ -42,7 +42,6 @@ static char *version = "sun3lance.c: v1.
 #include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
-#include <asm/pgalloc.h>
 #include <asm/dvma.h>
 #include <asm/idprom.h>
 #include <asm/machines.h>
--- orig/drivers/parisc/ccio-dma.c	Fri Mar 19 11:56:11 2004
+++ linux/drivers/parisc/ccio-dma.c	Sun Apr 18 23:12:29 2004
@@ -44,7 +44,6 @@
 #include <asm/byteorder.h>
 #include <asm/cache.h>		/* for L1_CACHE_BYTES */
 #include <asm/uaccess.h>
-#include <asm/pgalloc.h>
 #include <asm/page.h>
 #include <asm/dma.h>
 #include <asm/io.h>
--- orig/drivers/parisc/ccio-rm-dma.c	Fri Mar 19 11:56:11 2004
+++ linux/drivers/parisc/ccio-rm-dma.c	Sun Apr 18 23:12:39 2004
@@ -40,7 +40,6 @@
 #include <linux/pci.h>
 
 #include <asm/uaccess.h>
-#include <asm/pgalloc.h>
 
 #include <asm/io.h>
 #include <asm/hardware.h>
--- orig/drivers/video/console/sticore.c	Wed Feb 18 22:34:50 2004
+++ linux/drivers/video/console/sticore.c	Sun Apr 18 23:12:50 2004
@@ -22,7 +22,6 @@
 #include <linux/pci.h>
 #include <linux/font.h>
 
-#include <asm/pgalloc.h>
 #include <asm/hardware.h>
 #include <asm/parisc-device.h>
 #include <asm/cacheflush.h>
--- orig/sound/oss/dmasound/dmasound_atari.c	Mon Sep  8 23:38:50 2003
+++ linux/sound/oss/dmasound/dmasound_atari.c	Sun Apr 18 23:14:09 2004
@@ -22,7 +22,6 @@
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
 
-#include <asm/pgalloc.h>
 #include <asm/uaccess.h>
 #include <asm/atariints.h>
 #include <asm/atari_stram.h>


-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

  reply	other threads:[~2004-04-18 22:23 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-18 22:17 [PATCH 1/2] Clean up asm/pgalloc.h include Russell King
2004-04-18 22:23 ` Russell King [this message]
2004-04-18 22:48   ` [PATCH 3/2] " Russell King
2004-04-19 13:20   ` [PATCH] Clean up asm/pgalloc.h include (alpha) Russell King
2004-04-19 20:55     ` Ivan Kokshaysky
2004-04-19 13:20   ` [PATCH] Clean up asm/pgalloc.h include (arm26) Russell King
2004-04-19 13:20   ` [PATCH] Clean up asm/pgalloc.h include (cris) Russell King
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (H8300) Russell King
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (ia64) Russell King
2004-04-19 20:56     ` Alex Williamson
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (m68k) Russell King
2004-04-19 16:18     ` Geert Uytterhoeven
2004-04-19 16:30       ` Russell King
2004-04-19 16:39         ` Geert Uytterhoeven
2004-04-19 16:38       ` Russell King
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (m68knommu) Russell King
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (mips) Russell King
2004-04-19 16:36     ` Ralf Baechle
2004-04-19 13:21   ` [PATCH] Clean up asm/pgalloc.h include (parisc) Russell King
2004-04-19 13:22   ` [PATCH] Clean up asm/pgalloc.h include (ppc) Russell King
2004-04-29 22:08     ` Tom Rini
2004-04-19 13:22   ` [PATCH] Clean up asm/pgalloc.h include (ppc64) Russell King
2004-04-19 13:22   ` [PATCH] Clean up asm/pgalloc.h include (s390) Russell King
2004-04-19 13:22   ` [PATCH] Clean up asm/pgalloc.h include (sh) Russell King
2004-04-20 14:46     ` Paul Mundt
2004-04-20 16:01       ` Hugh Dickins
2004-04-20 16:19         ` Paul Mundt
2004-04-19 13:22   ` [PATCH] Clean up asm/pgalloc.h include (sparc) Russell King
2004-04-19 13:23   ` [PATCH] Clean up asm/pgalloc.h include (sparc64) Russell King
2004-04-19 13:23   ` [PATCH] Clean up asm/pgalloc.h include (v850) Russell King
2004-04-19 13:23   ` [PATCH] Clean up asm/pgalloc.h include (x86_64) Russell King
2004-04-19 14:03     ` [discuss] " Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040418232314.A2045@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox