aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorChristoph Hellwig2019-04-23 18:38:06 +0200
committerArnd Bergmann2019-04-23 21:51:39 +0200
commit737d42f75e943fd884ad13acb6d3ee3aff3dcd30 (patch)
treeb6f1e8d4103699e9b6cb299c025785c79f2dcfee /include/asm-generic
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
asm-generic: don't include <asm/segment.h> from <asm/uaccess.h>
<asm/segment.h> is an odd x86 legacy that we shouldn't force on other architectures. arc used it to bring in mm_context_t, but we can do that inside the arc code easily. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/uaccess.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h
index b3d2241e03f8..aac336831204 100644
--- a/include/asm-generic/uaccess.h
+++ b/include/asm-generic/uaccess.h
@@ -9,8 +9,6 @@
*/
#include <linux/string.h>
-#include <asm/segment.h>
-
#define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
#ifndef KERNEL_DS