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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/uaccess.h b/arch/m68k/include/asm/uaccess.h
index 65581a7874d4..ba670523885c 100644
--- a/arch/m68k/include/asm/uaccess.h
+++ b/arch/m68k/include/asm/uaccess.h
@@ -9,7 +9,6 @@
*/
#include <linux/compiler.h>
#include <linux/types.h>
-#include <asm/segment.h>
#include <asm/extable.h>
/* We let the MMU do all checking */
@@ -451,9 +450,6 @@ do { \
goto err_label; \
} while (0)
-#define user_addr_max() \
- (uaccess_kernel() ? ~0UL : TASK_SIZE)
-
extern long strncpy_from_user(char *dst, const char __user *src, long count);
extern __must_check long strnlen_user(const char __user *str, long n);