]> git.baikalelectronics.ru Git - kernel.git/commitdiff
riscv: include <asm/pgtable.h> in <asm/uaccess.h>
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Aug 2020 01:33:41 +0000 (18:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:58 +0000 (10:57 -0700)
To ensure TASK_SIZE is defined for USER_DS.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20200710135706.537715-4-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/riscv/include/asm/uaccess.h

index 8ce9d607b53dceb8f115d4ebf7a43657270ed56a..22de922d6ecb2f9783cb3c00f1be7998d4e3ad18 100644 (file)
@@ -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
  */