I needed this to compile without warnings for copy_from_user
diff -puN include/asm-i386/uaccess.h~copy_from_user-inc-fix include/asm-i386/uaccess.h
--- linux-2.5.72-mm2/include/asm-i386/uaccess.h~copy_from_user-inc-fix 2003-06-19 17:56:16.000000000 +0530
+++ linux-2.5.72-mm2-maneesh/include/asm-i386/uaccess.h 2003-06-19 17:56:43.000000000 +0530
@@ -9,6 +9,7 @@
#include <linux/thread_info.h>
#include <linux/prefetch.h>
#include <asm/page.h>
+#include <asm/string.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1
_
Regards,
Maneesh
-- Maneesh Soni IBM Linux Technology Center, IBM India Software Lab, Bangalore. Phone: +91-80-5044999 email: maneesh@in.ibm.com http://lse.sourceforge.net/ - 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/