]> err.no Git - linux-2.6/blobdiff - arch/powerpc/platforms/pseries/phyp_dump.c
[POWERPC] pseries/phyp dump: Reserve a variable amount of space at boot
[linux-2.6] / arch / powerpc / platforms / pseries / phyp_dump.c
index 7ddd10526ceaf868d793ca905a11a4a5413d1066..edbc012c2ebca1cff90c13d713d2e442e3ac52a1 100644 (file)
@@ -496,3 +496,12 @@ static int __init early_phyp_dump_enabled(char *p)
 }
 early_param("phyp_dump", early_phyp_dump_enabled);
 
+/* Look for phyp_dump_reserve_size= cmdline option */
+static int __init early_phyp_dump_reserve_size(char *p)
+{
+        if (p)
+               phyp_dump_info->reserve_bootvar = memparse(p, &p);
+
+        return 0;
+}
+early_param("phyp_dump_reserve_size", early_phyp_dump_reserve_size);