diff options
| -rw-r--r-- | arch/powerpc/platforms/pseries/hotplug-memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c index 7995135170a3..24abc5c223c7 100644 --- a/arch/powerpc/platforms/pseries/hotplug-memory.c +++ b/arch/powerpc/platforms/pseries/hotplug-memory.c | |||
| @@ -146,7 +146,7 @@ static inline int pseries_remove_memblock(unsigned long base, | |||
| 146 | } | 146 | } |
| 147 | static inline int pseries_remove_mem_node(struct device_node *np) | 147 | static inline int pseries_remove_mem_node(struct device_node *np) |
| 148 | { | 148 | { |
| 149 | return -EOPNOTSUPP; | 149 | return 0; |
| 150 | } | 150 | } |
| 151 | #endif /* CONFIG_MEMORY_HOTREMOVE */ | 151 | #endif /* CONFIG_MEMORY_HOTREMOVE */ |
| 152 | 152 | ||
