mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
95f72d1ed4
via following scripts FILES=$(find * -type f | grep -vE 'oprofile|[^K]config') sed -i \ -e 's/lmb/memblock/g' \ -e 's/LMB/MEMBLOCK/g' \ $FILES for N in $(find . -name lmb.[ch]); do M=$(echo $N | sed 's/lmb/memblock/g') mv $N $M done and remove some wrong change like lmbench and dlmb etc. also move memblock.c from lib/ to mm/ Suggested-by: Ingo Molnar <mingo@elte.hu> Acked-by: "H. Peter Anvin" <hpa@zytor.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
16 lines
316 B
C
16 lines
316 B
C
#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 */
|