From: Geert Uytterhoeven Date: Wed, 11 Jul 2012 21:02:28 +0000 (-0700) Subject: h8300/uaccess: add mising __clear_user() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=213ab3f9fcfc1ba471906a4f2c24d7b21370c859;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git h8300/uaccess: add mising __clear_user() Fix the build error: include/linux/regset.h: In function 'user_regset_copyout_zero': include/linux/regset.h:289:3: error: implicit declaration of function '__clear_user' [-Werror=implicit-function-declaration] Signed-off-by: Geert Uytterhoeven Cc: Yoshinori Sato Cc: Tony Breeds Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/h8300/include/asm/uaccess.h b/arch/h8300/include/asm/uaccess.h index 534394f4cb0f..8725d1ad4272 100644 --- a/arch/h8300/include/asm/uaccess.h +++ b/arch/h8300/include/asm/uaccess.h @@ -158,4 +158,6 @@ clear_user(void *to, unsigned long n) return 0; } +#define __clear_user clear_user + #endif /* _H8300_UACCESS_H */