Skip to content
Snippets Groups Projects
Commit f6ef8b7a authored by Becky Bruce's avatar Becky Bruce Committed by Kumar Gala
Browse files

mpc8641hpcn/sbc8641d: Add missing board_lmb_reserves


We're missing the board_lmb_reserve definitions that allow
cpu_mp_lmb_reserve to be called; this means that Linux
is free to reallocate reserved pages.  Linux currently boots
because we're getting lucky - the page we've reserved is
high enough in memory that it isn't allocated by Linux
while we still need it to be in existence.

Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 765547dc
No related branches found
No related tags found
No related merge requests found
......@@ -374,3 +374,12 @@ void board_reset(void)
while (1)
;
}
#if (CONFIG_NUM_CPUS > 1)
extern void cpu_mp_lmb_reserve(struct lmb *lmb);
void board_lmb_reserve(struct lmb *lmb)
{
cpu_mp_lmb_reserve(lmb);
}
#endif
......@@ -413,3 +413,12 @@ void board_reset(void)
__asm__ __volatile__ ("rfi");
#endif
}
#if (CONFIG_NUM_CPUS > 1)
extern void cpu_mp_lmb_reserve(struct lmb *lmb);
void board_lmb_reserve(struct lmb *lmb)
{
cpu_mp_lmb_reserve(lmb);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment