OSDN Git Service

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)
commit5cfade5fdcc9753c5b3958f65f0716a31268dd3e
treee79e0917a50a5bf35b5d49db70cedeb9cfde24af
parentdf720961c12857af3e5a8c94028310288ffa4ad5
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