lkml.org 
[lkml]   [2003]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.6.0-test2-mm4
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.048 / U:3.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site