linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Thu, 17 Mar 2005 16:31:21 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/03/17 16:31:15

Modified files:
        include/asm-mips: uaccess.h 

Log message:
        Clear_user takes a __user pointer.

diff -urN linux/include/asm-mips/uaccess.h linux/include/asm-mips/uaccess.h
--- linux/include/asm-mips/uaccess.h    2005/03/04 19:36:53     1.42
+++ linux/include/asm-mips/uaccess.h    2005/03/17 16:31:15     1.43
@@ -629,7 +629,7 @@
 
 #define clear_user(addr,n)                                             \
 ({                                                                     \
-       void * __cl_addr = (addr);                                      \
+       void __user * __cl_addr = (addr);                               \
        unsigned long __cl_size = (n);                                  \
        if (__cl_size && access_ok(VERIFY_WRITE,                        \
                ((unsigned long)(__cl_addr)), __cl_size))               \

<Prev in Thread] Current Thread [Next in Thread>