From: Andrew Morton powerpc: mm/built-in.o(.text+0x37fc0): In function `.add_memory': : undefined reference to `.arch_refresh_nodedata' mm/built-in.o(.text+0x3807c): In function `.add_memory': : undefined reference to `.arch_refresh_nodedata' Cc: Yasunori Goto Cc: KAMEZAWA Hiroyuki Cc: Dave Hansen Cc: "Brown, Len" Signed-off-by: Andrew Morton --- include/linux/memory_hotplug.h | 4 ++-- ia64/Kconfig | 0 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/ia64/Kconfig~pgdat-allocation-for-new-node-add-refresh-node_data-fix arch/ia64/Kconfig diff -puN include/linux/memory_hotplug.h~pgdat-allocation-for-new-node-add-refresh-node_data-fix include/linux/memory_hotplug.h --- 25/include/linux/memory_hotplug.h~pgdat-allocation-for-new-node-add-refresh-node_data-fix 2006-04-27 04:36:11.000000000 -0600 +++ 25-akpm/include/linux/memory_hotplug.h 2006-04-27 04:37:35.000000000 -0600 @@ -118,7 +118,7 @@ static inline void arch_refresh_nodedata #define generic_free_nodedata(pgdat) kfree(pgdat) extern pg_data_t *node_data[]; -static inline void generic_refresh_nodedata(int nid, pg_data_t *pgdat) +static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) { node_data[nid] = pgdat; } @@ -134,7 +134,7 @@ static inline pg_data_t *generic_alloc_n static inline void generic_free_nodedata(pg_data_t *pgdat) { } -static inline void generic_refresh_nodedata(int nid, pg_data_t *pgdat) +static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) { } #endif /* CONFIG_NUMA */ _