diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 15:50:24 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 15:50:24 +0000 |
commit | 394e1599a7301901ce0f1abd44bde0632d723a53 (patch) | |
tree | c5fbd8430f7dd88fd3f017abf2eb53cb1600f38b /include | |
parent | 984760dbf5e48f6224dfe9e26e03536b3d38b6cd (diff) |
Fix CONFIG_DISCONTIGMEM.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips64/pgtable.h b/include/asm-mips64/pgtable.h index 42cdcab75..da34c9ac1 100644 --- a/include/asm-mips64/pgtable.h +++ b/include/asm-mips64/pgtable.h @@ -359,7 +359,7 @@ extern inline void pgd_clear(pgd_t *pgdp) #define mips64_pte_pagenr(x) \ (PLAT_NODE_DATA_STARTNR(PHYSADDR_TO_NID(pte_val(x))) + \ PLAT_NODE_DATA_LOCALNR(pte_val(x), PHYSADDR_TO_NID(pte_val(x)))) -#define pte_page(x) (mem_map+pte_pagenr(x)) +#define pte_page(x) (mem_map+mips64_pte_pagenr(x)) #endif /* |