summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-29 23:37:10 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-29 23:37:10 +0000
commit7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (patch)
tree635854b68390dad89e7ca8ef801fb75c66df4920
parentac009153906f658038f5d8e7c92ac942e97e6048 (diff)
Same for 2.3.
-rw-r--r--include/asm-mips/uaccess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/uaccess.h b/include/asm-mips/uaccess.h
index 022862cff..6235cf488 100644
--- a/include/asm-mips/uaccess.h
+++ b/include/asm-mips/uaccess.h
@@ -1,4 +1,4 @@
-/* $Id: uaccess.h,v 1.11 2000/02/19 00:33:10 ralf Exp $
+/* $Id: uaccess.h,v 1.12 2000/02/21 18:05:07 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -407,7 +407,7 @@ __clear_user(void *addr, __kernel_size_t size)
#define clear_user(addr,n) ({ \
void * __cl_addr = (addr); \
unsigned long __cl_size = (n); \
-if (__cl_size && __access_ok(VERIFY_WRITE, ((unsigned long)(__cl_addr)), __cl_size)) \
+if (__cl_size && access_ok(VERIFY_WRITE, ((unsigned long)(__cl_addr)), __cl_size)) \
__cl_size = __clear_user(__cl_addr, __cl_size); \
__cl_size; })