mirror of https://gitee.com/openkylin/linux.git
14 lines
325 B
C
14 lines
325 B
C
#ifdef __uClinux__
|
|
#include <asm/uaccess_no.h>
|
|
#else
|
|
#include <asm/uaccess_mm.h>
|
|
#endif
|
|
|
|
#include <asm/extable.h>
|
|
#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
|