git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge patch the fixes from "riscv: 64-bit NOMMU fixes and enhancements"
[sfrench/cifs-2.6.git]
/
arch
/
riscv
/
include
/
asm
/
page.h
diff --git
a/arch/riscv/include/asm/page.h
b/arch/riscv/include/asm/page.h
index 2947423b5082e9b7f69b25a347685af499258161..115ac98b8d729da4e8f07f0f8f44e27438be107f 100644
(file)
--- a/
arch/riscv/include/asm/page.h
+++ b/
arch/riscv/include/asm/page.h
@@
-89,7
+89,7
@@
typedef struct page *pgtable_t;
#define PTE_FMT "%08lx"
#endif
-#if
def CONFIG_64BIT
+#if
defined(CONFIG_64BIT) && defined(CONFIG_MMU)
/*
* We override this value as its generic definition uses __pa too early in
* the boot process (before kernel_map.va_pa_offset is set).