mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 11:28:28 +00:00
21e884bafa
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>
13 lines
300 B
C
13 lines
300 B
C
#ifdef __uClinux__
|
|
#include <asm/uaccess_no.h>
|
|
#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
|