diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-04-14 03:01:56 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-04-14 21:55:28 -0400 |
commit | 16e00f5a5f12eb32ca39df6a7afd5c0062705af6 (patch) | |
tree | ad779e9419f171775c9d768c6400634790b14bb0 /arch/powerpc/platforms | |
parent | ff7a2adac50873aaba71759779505693806adcc1 (diff) |
powerpc/pseries: Fix compile of memory hotplug without CONFIG_MEMORY_HOTREMOVE
51925fb3c5 "powerpc/pseries: Implement memory hotplug remove in the kernel"
broke compile when CONFIG_MEMORY_HOTREMOVE is not defined due to missing
symbols. This fixes the issue by adding the missing symbols.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/hotplug-memory.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c index 5cefcadd3562..0ced387e1463 100644 --- a/arch/powerpc/platforms/pseries/hotplug-memory.c +++ b/arch/powerpc/platforms/pseries/hotplug-memory.c | |||
@@ -369,6 +369,19 @@ static inline int dlpar_memory_remove(struct pseries_hp_errorlog *hp_elog) | |||
369 | { | 369 | { |
370 | return -EOPNOTSUPP; | 370 | return -EOPNOTSUPP; |
371 | } | 371 | } |
372 | static int dlpar_remove_lmb(struct of_drconf_cell *lmb) | ||
373 | { | ||
374 | return -EOPNOTSUPP; | ||
375 | } | ||
376 | static int dlpar_memory_remove_by_count(u32 lmbs_to_remove, | ||
377 | struct property *prop) | ||
378 | { | ||
379 | return -EOPNOTSUPP; | ||
380 | } | ||
381 | static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) | ||
382 | { | ||
383 | return -EOPNOTSUPP; | ||
384 | } | ||
372 | 385 | ||
373 | #endif /* CONFIG_MEMORY_HOTREMOVE */ | 386 | #endif /* CONFIG_MEMORY_HOTREMOVE */ |
374 | 387 | ||