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
|