summaryrefslogtreecommitdiffstats
path: root/board/sbc8641d
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2009-03-31 18:38:37 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-03-31 22:41:34 -0500
commitf6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2 (patch)
tree35b7d5aa1264a8322719363fbe029d0cbacb00f1 /board/sbc8641d
parent765547dc5e0e8cbe6b8f4ea8a5d6ff237935c352 (diff)
downloadbootable_bootloader_goldelico_gta04-f6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2.zip
bootable_bootloader_goldelico_gta04-f6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2.tar.gz
bootable_bootloader_goldelico_gta04-f6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2.tar.bz2
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: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8641d')
-rw-r--r--board/sbc8641d/sbc8641d.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c
index 52ad2d8..fc1f07d 100644
--- a/board/sbc8641d/sbc8641d.c
+++ b/board/sbc8641d/sbc8641d.c
@@ -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