public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] #include asm/uaccess.h in asm/checksum.h
@ 2005-05-24 22:31 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-05-24 22:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-24 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24 22:31 [PATCH 1/2] #include asm/uaccess.h in asm/checksum.h Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox