uaccess.h 300 B

12345678910111213
  1. #ifdef __uClinux__
  2. #include <asm/uaccess_no.h>
  3. #else
  4. #include <asm/uaccess_mm.h>
  5. #endif
  6. #ifdef CONFIG_CPU_HAS_NO_UNALIGNED
  7. #include <asm-generic/uaccess-unaligned.h>
  8. #else
  9. #define __get_user_unaligned(x, ptr) __get_user((x), (ptr))
  10. #define __put_user_unaligned(x, ptr) __put_user((x), (ptr))
  11. #endif