summaryrefslogtreecommitdiff
path: root/fs/init.c
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-01-29 22:00:38 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-03 05:36:42 +0300
commitde5f4b8f634beacf667e6eff334522601dd03b59 (patch)
tree146361e9bfc3cc1b7b463794f0a608b7ec5ffbac /fs/init.c
parenteefb5f3ab2e8e0b3ef5eba5c5a9f33457741300d (diff)
downloadlinux-de5f4b8f634beacf667e6eff334522601dd03b59.tar.xz
RISC-V: Define MAXPHYSMEM_1GB only for RV32
MAXPHYSMEM_1GB option was added for RV32 because RV32 only supports 1GB of maximum physical memory. This lead to few compilation errors reported by kernel test robot which created the following configuration combination which are not useful but can be configured. 1. MAXPHYSMEM_1GB & RV64 2, MAXPHYSMEM_2GB & RV32 Fix this by restricting MAXPHYSMEM_1GB for RV32 and MAXPHYSMEM_2GB only for RV64. Fixes: e557793799c5 ("RISC-V: Fix maximum allowed phsyical memory for RV32") Cc: stable@vger.kernel.org Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'fs/init.c')
0 files changed, 0 insertions, 0 deletions