Commit 213ab3f9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

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: default avatarGeert Uytterhoeven <>
Cc: Yoshinori Sato <>
Cc: Tony Breeds <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent e048aceb
......@@ -158,4 +158,6 @@ clear_user(void *to, unsigned long n)
return 0;
#define __clear_user clear_user
#endif /* _H8300_UACCESS_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment