diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-09-03 05:17:25 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-09-10 05:06:17 -0400 |
commit | 21e884bafa039fab0facd327c9380b58151e73f2 (patch) | |
tree | c1fd7da5995de3f35ea90d71b00b30a1c6d79890 /arch/m68k | |
parent | 6e4664525b1db28f8c4e1130957f70a94c19213e (diff) |
m68k/m68knommu: Implement __get_user_unaligned/__put_user_unaligned()
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/uaccess.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/uaccess.h b/arch/m68k/include/asm/uaccess.h index 639c731568b0..3fadc4a93d97 100644 --- a/arch/m68k/include/asm/uaccess.h +++ b/arch/m68k/include/asm/uaccess.h | |||
@@ -3,3 +3,10 @@ | |||
3 | #else | 3 | #else |
4 | #include <asm/uaccess_mm.h> | 4 | #include <asm/uaccess_mm.h> |
5 | #endif | 5 | #endif |
6 | |||
7 | #ifdef CONFIG_CPU_HAS_NO_UNALIGNED | ||
8 | #include <asm-generic/uaccess-unaligned.h> | ||
9 | #else | ||
10 | #define __get_user_unaligned(x, ptr) __get_user((x), (ptr)) | ||
11 | #define __put_user_unaligned(x, ptr) __put_user((x), (ptr)) | ||
12 | #endif | ||