1 2 3 4 5 6 7 8 9 10 11 12
#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