diff options
author | Greentime Hu <greentime.hu@sifive.com> | 2019-09-18 13:38:24 +0300 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-09-19 15:44:34 +0300 |
commit | b6f2b2e600a27b79801bae0bf73e3c34438dc0ae (patch) | |
tree | 87c87483705db0c28be72025c23720d4d336d19e /ipc/util.c | |
parent | b45e0c30bc58fb6fcaa42f1d1d813cefb8ab4117 (diff) | |
download | linux-b6f2b2e600a27b79801bae0bf73e3c34438dc0ae.tar.xz |
RISC-V: Fix building error when CONFIG_SPARSEMEM_MANUAL=y
Fix a build break by adjusting where VMALLOC_* and FIXADDR_* are
defined. This fixes the definition of the MEMMAP_* macros.
CC init/main.o
In file included from ./include/linux/mm.h:99,
from ./include/linux/ring_buffer.h:5,
from ./include/linux/trace_events.h:6,
from ./include/trace/syscall.h:7,
from ./include/linux/syscalls.h:85,
from init/main.c:21:
./arch/riscv/include/asm/pgtable.h: In function ‘pmd_page’:
./arch/riscv/include/asm/pgtable.h:95:24: error: ‘VMALLOC_START’ undeclared (first use in this function); did you mean ‘VMEMMAP_START’?
#define VMEMMAP_START (VMALLOC_START - VMEMMAP_SIZE)
^~~~~~~~~~~~~
Fixes: d95f1a542c3d ("RISC-V: Implement sparsemem")
Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
[paul.walmsley@sifive.com: minor patch description fix]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions