diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-07-11 14:02:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-11 16:04:46 -0700 |
commit | 213ab3f9fcfc1ba471906a4f2c24d7b21370c859 (patch) | |
tree | 4cde1764caa9b7d1e2e4bf4719696de2ac65fec3 /arch/h8300/include | |
parent | e048acebc40cf8292ed71a1012fd53068f22924b (diff) | |
download | linux-213ab3f9fcfc1ba471906a4f2c24d7b21370c859.tar.gz linux-213ab3f9fcfc1ba471906a4f2c24d7b21370c859.tar.bz2 linux-213ab3f9fcfc1ba471906a4f2c24d7b21370c859.zip |
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 <geert@linux-m68k.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/include')
-rw-r--r-- | arch/h8300/include/asm/uaccess.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |