summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/uaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/include/asm/uaccess.h')
-rw-r--r--arch/h8300/include/asm/uaccess.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/h8300/include/asm/uaccess.h b/arch/h8300/include/asm/uaccess.h
index 356068cd087..8725d1ad427 100644
--- a/arch/h8300/include/asm/uaccess.h
+++ b/arch/h8300/include/asm/uaccess.h
@@ -100,7 +100,6 @@ extern int __put_user_bad(void);
break; \
default: \
__gu_err = __get_user_bad(); \
- __gu_val = 0; \
break; \
} \
(x) = __gu_val; \
@@ -159,4 +158,6 @@ clear_user(void *to, unsigned long n)
return 0;
}
+#define __clear_user clear_user
+
#endif /* _H8300_UACCESS_H */