summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/uaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/uaccess.h')
-rw-r--r--arch/m68k/include/asm/uaccess.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/uaccess.h b/arch/m68k/include/asm/uaccess.h
new file mode 100644
index 000000000..3fadc4a93
--- /dev/null
+++ b/arch/m68k/include/asm/uaccess.h
@@ -0,0 +1,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