aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/topology.h')
-rw-r--r--include/asm-powerpc/topology.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/topology.h b/include/asm-powerpc/topology.h
index db8095cbe09b..9f3d4da261c4 100644
--- a/include/asm-powerpc/topology.h
+++ b/include/asm-powerpc/topology.h
@@ -1,5 +1,6 @@
1#ifndef _ASM_POWERPC_TOPOLOGY_H 1#ifndef _ASM_POWERPC_TOPOLOGY_H
2#define _ASM_POWERPC_TOPOLOGY_H 2#define _ASM_POWERPC_TOPOLOGY_H
3#ifdef __KERNEL__
3 4
4#include <linux/config.h> 5#include <linux/config.h>
5 6
@@ -55,10 +56,15 @@ static inline int node_to_first_cpu(int node)
55 .nr_balance_failed = 0, \ 56 .nr_balance_failed = 0, \
56} 57}
57 58
59extern void __init dump_numa_cpu_topology(void);
60
58#else 61#else
59 62
63static inline void dump_numa_cpu_topology(void) {}
64
60#include <asm-generic/topology.h> 65#include <asm-generic/topology.h>
61 66
62#endif /* CONFIG_NUMA */ 67#endif /* CONFIG_NUMA */
63 68
69#endif /* __KERNEL__ */
64#endif /* _ASM_POWERPC_TOPOLOGY_H */ 70#endif /* _ASM_POWERPC_TOPOLOGY_H */