]> Git Repo - linux.git/commitdiff
powerpc/pseries: Fix compile of memory hotplug without CONFIG_MEMORY_HOTREMOVE
authorAlexey Kardashevskiy <[email protected]>
Tue, 14 Apr 2015 07:01:56 +0000 (17:01 +1000)
committerMichael Ellerman <[email protected]>
Wed, 15 Apr 2015 01:55:28 +0000 (11:55 +1000)
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 <[email protected]>
Acked-by: Nathan Fontenot <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
arch/powerpc/platforms/pseries/hotplug-memory.c

index 5cefcadd356233cdb8174a616b2eb7553328ab7a..0ced387e14638f2a711fbca784ab621ac9121b1d 100644 (file)
@@ -369,6 +369,19 @@ static inline int dlpar_memory_remove(struct pseries_hp_errorlog *hp_elog)
 {
        return -EOPNOTSUPP;
 }
+static int dlpar_remove_lmb(struct of_drconf_cell *lmb)
+{
+       return -EOPNOTSUPP;
+}
+static int dlpar_memory_remove_by_count(u32 lmbs_to_remove,
+                                       struct property *prop)
+{
+       return -EOPNOTSUPP;
+}
+static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop)
+{
+       return -EOPNOTSUPP;
+}
 
 #endif /* CONFIG_MEMORY_HOTREMOVE */
 
This page took 0.045332 seconds and 4 git commands to generate.