lkml.org 
[lkml]   [2005]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] #include asm/uaccess.h in asm/checksum.h
Date
csum_and_copy_to_user is static inline and uses VERIFY_WRITE. Patch allows to
remove asm/uaccess.h from i386_ksyms.c without dependency surprises.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

--- linux-vanilla/include/asm-i386/checksum.h 2005-05-24 08:48:20.000000000 +0400
+++ linux-ksyms/include/asm-i386/checksum.h 2005-05-25 01:28:45.000000000 +0400
@@ -3,6 +3,8 @@

#include <linux/in6.h>

+#include <asm/uaccess.h>
+
/*
* computes the checksum of a memory block at buff, length len,
* and adds in "sum" (32-bit)
-
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-05-25 00:34    [W:0.026 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site