The patch titled Subject: riscv: include <asm/pgtable.h> in <asm/uaccess.h> has been added to the -mm tree. Its filename is riscv-include-asm-pgtableh-in-asm-uaccessh.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/riscv-include-asm-pgtableh-in-asm-uaccessh.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/riscv-include-asm-pgtableh-in-asm-uaccessh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Christoph Hellwig <hch@xxxxxx> Subject: riscv: include <asm/pgtable.h> in <asm/uaccess.h> To ensure TASK_SIZE is defined for USER_DS. Link: http://lkml.kernel.org/r/20200710135706.537715-4-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Acked-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Nick Hu <nickhu@xxxxxxxxxxxxx> Cc: Greentime Hu <green.hu@xxxxxxxxx> Cc: Vincent Chen <deanbo422@xxxxxxxxx> Cc: Paul Walmsley <paul.walmsley@xxxxxxxxxx> Cc: Palmer Dabbelt <palmer@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/riscv/include/asm/uaccess.h | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/riscv/include/asm/uaccess.h~riscv-include-asm-pgtableh-in-asm-uaccessh +++ a/arch/riscv/include/asm/uaccess.h @@ -8,6 +8,8 @@ #ifndef _ASM_RISCV_UACCESS_H #define _ASM_RISCV_UACCESS_H +#include <asm/pgtable.h> /* for TASK_SIZE */ + /* * User space memory access functions */ _ Patches currently in -mm which might be from hch@xxxxxx are syscalls-use-uaccess_kernel-in-addr_limit_user_check.patch nds32-use-uaccess_kernel-in-show_regs.patch riscv-include-asm-pgtableh-in-asm-uaccessh.patch uaccess-remove-segment_eq.patch uaccess-add-force_uaccess_beginend-helpers.patch exec-use-force_uaccess_begin-during-exec-and-exit.patch