aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/memblock.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:44 -0700
commit6f7dd68b755b215deda5188a2c13c00f4776ea66 (patch)
tree2a63c972ac89d7ae290910d5c6b1c6300ccbafd5 /arch/powerpc/include/asm/memblock.h
parentMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (diff)
parentlmb: rename to memblock (diff)
downloadlinux-dev-6f7dd68b755b215deda5188a2c13c00f4776ea66.tar.xz
linux-dev-6f7dd68b755b215deda5188a2c13c00f4776ea66.zip
Merge branch 'lmb-to-memblock' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'lmb-to-memblock' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: lmb: rename to memblock
Diffstat (limited to 'arch/powerpc/include/asm/memblock.h')
-rw-r--r--arch/powerpc/include/asm/memblock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/memblock.h b/arch/powerpc/include/asm/memblock.h
new file mode 100644
index 000000000000..3c29728b56b1
--- /dev/null
+++ b/arch/powerpc/include/asm/memblock.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_POWERPC_MEMBLOCK_H
+#define _ASM_POWERPC_MEMBLOCK_H
+
+#include <asm/udbg.h>
+
+#define MEMBLOCK_DBG(fmt...) udbg_printf(fmt)
+
+#ifdef CONFIG_PPC32
+extern phys_addr_t lowmem_end_addr;
+#define MEMBLOCK_REAL_LIMIT lowmem_end_addr
+#else
+#define MEMBLOCK_REAL_LIMIT 0
+#endif
+
+#endif /* _ASM_POWERPC_MEMBLOCK_H */