提交 21e884ba 编写于 作者: G Geert Uytterhoeven

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: NGeert Uytterhoeven <geert@linux-m68k.org>
上级 6e466452
......@@ -3,3 +3,10 @@
#else
#include <asm/uaccess_mm.h>
#endif
#ifdef CONFIG_CPU_HAS_NO_UNALIGNED
#include <asm-generic/uaccess-unaligned.h>
#else
#define __get_user_unaligned(x, ptr) __get_user((x), (ptr))
#define __put_user_unaligned(x, ptr) __put_user((x), (ptr))
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册