]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: turn mm_segment_t into a struct
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Apr 2019 09:14:33 +0000 (11:14 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 25 Apr 2019 21:51:10 +0000 (14:51 -0700)
commit2add6f3239564637226a9262080dd64565817a9c
treee79e0917a50a5bf35b5d49db70cedeb9cfde24af
parenta2687f07e8893bef32331d93904af68f3f4f3624
riscv: turn mm_segment_t into a struct

This matches what other heavily used architectures do, and will allow us
to easily use <asm-generic/uaccess.h> for the nommu case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/thread_info.h
arch/riscv/include/asm/uaccess.h