diff options
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 5 |
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) |
72 | extern int start_topology_update(void); | 72 | extern int start_topology_update(void); |
73 | extern int stop_topology_update(void); | 73 | extern int stop_topology_update(void); |
74 | extern int prrn_is_enabled(void); | ||
74 | #else | 75 | #else |
75 | static inline int start_topology_update(void) | 76 | static 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 | } |
84 | static 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> |