Messages in this thread Patch in this message | | | From | Daniele Bellucci <> | Subject | Re: 2.6.0-test2-mm4 | Date | Mon, 4 Aug 2003 13:56:03 +0200 |
| |
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/
| |