mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:05:18 +07: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>
11 lines
195 B
C
11 lines
195 B
C
#ifndef _SPARC64_MEMBLOCK_H
|
|
#define _SPARC64_MEMBLOCK_H
|
|
|
|
#include <asm/oplib.h>
|
|
|
|
#define MEMBLOCK_DBG(fmt...) prom_printf(fmt)
|
|
|
|
#define MEMBLOCK_REAL_LIMIT 0
|
|
|
|
#endif /* !(_SPARC64_MEMBLOCK_H) */
|