2024-09-09 08:52:07 +00:00
|
|
|
#ifdef __uClinux__
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <asm/uaccess_no.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
#else
|
2024-09-09 08:57:42 +00:00
|
|
|
#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))
|
2024-09-09 08:52:07 +00:00
|
|
|
#endif
|