public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeff Garzik <jeff@garzik.org>,
	netdev@vger.kernel.org
Subject: [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h>
Date: Fri, 20 Jul 2007 18:40:45 +0200	[thread overview]
Message-ID: <20070720164323.848002388@mail.of.borg> (raw)
In-Reply-To: 20070720164043.523003359@mail.of.borg

[-- Attachment #1: m68k-82596-needs-asm-cacheflush.diff --]
[-- Type: text/plain, Size: 1043 bytes --]

netdev: i82596 Ethernet needs <asm/cacheflush.h> on m68k

drivers/net/82596.c: In function 'init_rx_bufs':
drivers/net/82596.c:552: error: implicit declaration of function 'cache_clear'
drivers/net/82596.c: In function 'i596_start_xmit':
drivers/net/82596.c:1104: error: implicit declaration of function 'cache_push'

The driver still compiles on ia32 (CONFIG_APRICOT=y)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/82596.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/82596.c
+++ b/drivers/net/82596.c
@@ -57,6 +57,7 @@
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/pgtable.h>
+#include <asm/cacheflush.h>
 
 static char version[] __initdata =
 	"82596.c $Revision: 1.5 $\n";

-- 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


  parent reply	other threads:[~2007-07-20 16:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20 16:40 [patch 0/3] m68k: -Werror-implicit-function-declaration fallout Geert Uytterhoeven
2007-07-20 16:40 ` [patch 1/3] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible Geert Uytterhoeven
2007-07-20 17:47   ` Dmitry Torokhov
2007-07-20 18:35     ` Adrian Bunk
2007-07-20 18:51       ` Dmitry Torokhov
2007-07-20 19:07         ` Adrian Bunk
2007-07-20 19:30           ` Dmitry Torokhov
2007-07-21  8:27         ` Geert Uytterhoeven
2007-07-22  4:22           ` Dmitry Torokhov
2007-07-22 12:51             ` Geert Uytterhoeven
2007-07-24  0:45               ` Dmitry Torokhov
2007-07-20 16:40 ` Geert Uytterhoeven [this message]
2007-07-24 20:37   ` [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h> Jeff Garzik
2007-07-20 16:40 ` [patch 3/3] scsi: wd33c93 needs <asm/irq.h> Geert Uytterhoeven
2007-07-20 16:48   ` James Bottomley
2007-07-20 17:05     ` Geert Uytterhoeven
2007-07-20 17:13     ` Adrian Bunk
2007-07-20 17:31   ` Ralf Baechle
2007-07-20 17:33     ` Christoph Hellwig
2007-07-20 17:43       ` Sergei Shtylyov
2007-07-20 17:50         ` Matthew Wilcox
2007-07-22 23:34           ` Al Viro
2007-07-20 17:46       ` Ralf Baechle
2007-07-20 17:34     ` Matthew Wilcox

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=20070720164323.848002388@mail.of.borg \
    --to=geert@linux-m68k.org \
    --cc=akpm@linux-foundation.org \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=netdev@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