]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: don't include <asm/segment.h> from <asm/uaccess.h>
authorChristoph Hellwig <hch@lst.de>
Tue, 23 Apr 2019 16:38:06 +0000 (18:38 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2019 19:51:39 +0000 (21:51 +0200)
commit85831ab6ec4998ab27ab6ef9be15fabffed8c44f
treeb6f1e8d4103699e9b6cb299c025785c79f2dcfee
parent805099b2fb57eba3d69bc38aeb447dfe76b0ebb9
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>
arch/arc/include/asm/uaccess.h
include/asm-generic/uaccess.h