Skip to contentSkip to conversation

2.4.0-test11-pre5/drivers/net/sunhme.c compile failure on x86

DISCUSSION Applied willy tarreau 2 participants 2 messages Nov 16, 2000

lore
Share & tools
lore
#0 lore raw

Hello !

(thanks Dave for the quick patch)

I also had to move the #include <asm/uaccess.h>
out of the #ifdef __sparc__/#endif because
copy_{from|to}_user were left undefined (see
simple patch below).

Regards,
Willy

--- drivers/net/sunhme.c-orig Wed Nov 15 12:56:33
2000
+++ drivers/net/sunhme.c Wed Nov 15 12:59:35
2000
@@ -48,8 +48,8 @@
#ifndef __sparc_v9__
#include <asm/io-unit.h>
#endif
-#include <asm/uaccess.h>
#endif
+#include <asm/uaccess.h>

#include <asm/pgtable.h>
#include <asm/irq.h>

___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

Date: Thu, 16 Nov 2000 02:16:32 +0100 (CET)
From: willy tarreau <[email protected]>

I also had to move the #include <asm/uaccess.h> out of the #ifdef __sparc__/#endif because copy_{from|to}_user were left undefined (see simple patch below).

Applied, thanks.

Later,
David S. Miller
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/