Re: 2.6.0-test2-mm4

From: Daniele Bellucci (bellucda@tiscali.it)
Date: Mon Aug 04 2003 - 06:56:03 EST


make all:

mm/usercopy.c: In function `pin_page':
mm/usercopy.c:55: warning: implicit declaration of function `in_atomic'
mm/built-in.o: In function `rw_vm':
/usr/src/linux-2.6.0-test2-mm4/mm/usercopy.c:55: undefined reference to `in_atomic'
make: *** [.tmp_vmlinux1] Error 1

seems like #include <linux/interrupt.h> is missing.

diff -urN 1.0/mm/usercopy.c 1.1/mm/usercopy.c
--- 1.0/mm/usercopy.c 2003-08-04 13:46:22.000000000 +0200
+++ 1.1/mm/usercopy.c 2003-08-04 13:46:39.000000000 +0200
@@ -15,6 +15,7 @@
 #include <linux/pagemap.h>
 #include <linux/smp_lock.h>
 #include <linux/ptrace.h>
+#include <linux/interrupt.h>
 
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:23 EST