blob: 3fadc4a93d977ec96456bf194b7a34a97daa495e [file] [log] [blame]
Sam Ravnborg49148022009-01-16 21:58:10 +10001#ifdef __uClinux__
David Howellsa1ce3922012-10-02 18:01:25 +01002#include <asm/uaccess_no.h>
Sam Ravnborg49148022009-01-16 21:58:10 +10003#else
David Howellsa1ce3922012-10-02 18:01:25 +01004#include <asm/uaccess_mm.h>
Sam Ravnborg49148022009-01-16 21:58:10 +10005#endif
Geert Uytterhoeven21e884b2013-09-03 11:17:25 +02006
7#ifdef CONFIG_CPU_HAS_NO_UNALIGNED
8#include <asm-generic/uaccess-unaligned.h>
9#else
10#define __get_user_unaligned(x, ptr) __get_user((x), (ptr))
11#define __put_user_unaligned(x, ptr) __put_user((x), (ptr))
12#endif