summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/memblock.h
blob: 3c29728b56b1df4ef2fc6b2c5396717af6daa2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */