aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r--arch/powerpc/include/asm/topology.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index 852ed1b384f6..161ab662843b 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -71,6 +71,7 @@ static inline void sysfs_remove_device_from_node(struct device *dev,
71#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR) 71#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
72extern int start_topology_update(void); 72extern int start_topology_update(void);
73extern int stop_topology_update(void); 73extern int stop_topology_update(void);
74extern int prrn_is_enabled(void);
74#else 75#else
75static inline int start_topology_update(void) 76static inline int start_topology_update(void)
76{ 77{
@@ -80,6 +81,10 @@ static inline int stop_topology_update(void)
80{ 81{
81 return 0; 82 return 0;
82} 83}
84static inline int prrn_is_enabled(void)
85{
86 return 0;
87}
83#endif /* CONFIG_NUMA && CONFIG_PPC_SPLPAR */ 88#endif /* CONFIG_NUMA && CONFIG_PPC_SPLPAR */
84 89
85#include <asm-generic/topology.h> 90#include <asm-generic/topology.h>