projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94e4f2
)
MIPS: mm: Fix highmem compile
author
Paul Burton
<paul.burton@mips.com>
Fri, 23 Aug 2019 16:48:58 +0000
(17:48 +0100)
committer
Paul Burton
<paul.burton@mips.com>
Fri, 23 Aug 2019 16:50:30 +0000
(17:50 +0100)
Commit
a5718fe8f70f
("MIPS: mm: Drop boot_mem_map") removed the
definition of a page variable for some reason, but that variable is
still used. Restore it to fix compilation with CONFIG_HIGHMEM enabled.
Signed-off-by: Paul Burton <paul.burton@mips.com>
arch/mips/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/init.c
b/arch/mips/mm/init.c
index e9e1104e0567ef167d568aa34abbd44acb05bbac..6fea3b54c961376265c7b726cf14ab122a13ba8d 100644
(file)
--- a/
arch/mips/mm/init.c
+++ b/
arch/mips/mm/init.c
@@
-434,6
+434,8
@@
static inline void __init mem_init_free_highmem(void)
return;
for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) {
+ struct page *page = pfn_to_page(tmp);
+
if (!memblock_is_memory(PFN_PHYS(tmp)))
SetPageReserved(page);
else