diff options
author | Paul Walmsley <paul.walmsley@sifive.com> | 2019-11-23 03:59:09 +0100 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-11-23 03:59:09 +0100 |
commit | 5ba9aa56e6d3e8fddb954c2f818d1ce0525235bb (patch) | |
tree | b9f61d0544ed06b7f07000a11797711cdd97d83f /arch/riscv/include/asm/fixmap.h | |
parent | Merge branch 'next/misc' into for-next (diff) | |
parent | riscv: provide a flat image loader (diff) | |
download | linux-5ba9aa56e6d3e8fddb954c2f818d1ce0525235bb.tar.xz linux-5ba9aa56e6d3e8fddb954c2f818d1ce0525235bb.zip |
Merge branch 'next/nommu' into for-next
Conflicts:
arch/riscv/boot/Makefile
arch/riscv/include/asm/sbi.h
Diffstat (limited to 'arch/riscv/include/asm/fixmap.h')
-rw-r--r-- | arch/riscv/include/asm/fixmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/fixmap.h b/arch/riscv/include/asm/fixmap.h index 161f28d04a07..42d2c42f3cc9 100644 --- a/arch/riscv/include/asm/fixmap.h +++ b/arch/riscv/include/asm/fixmap.h @@ -11,6 +11,7 @@ #include <asm/page.h> #include <asm/pgtable.h> +#ifdef CONFIG_MMU /* * Here we define all the compile-time 'special' virtual addresses. * The point is to have a constant address at compile time, but to @@ -42,4 +43,5 @@ extern void __set_fixmap(enum fixed_addresses idx, #include <asm-generic/fixmap.h> +#endif /* CONFIG_MMU */ #endif /* _ASM_RISCV_FIXMAP_H */ |