- fix builf on powerpc - enable powerpc32 OBS-URL: https://build.opensuse.org/request/show/198505 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=68
27 lines
879 B
Diff
27 lines
879 B
Diff
Index: makedumpfile-1.5.4/arch/ppc.c
|
|
===================================================================
|
|
--- makedumpfile-1.5.4.orig/arch/ppc.c
|
|
+++ makedumpfile-1.5.4/arch/ppc.c
|
|
@@ -28,7 +28,7 @@
|
|
int
|
|
get_machdep_info_ppc(void)
|
|
{
|
|
- unsigned long vmlist, vmalloc_start;
|
|
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
|
|
|
info->section_size_bits = _SECTION_SIZE_BITS;
|
|
info->max_physmem_bits = _MAX_PHYSMEM_BITS;
|
|
Index: makedumpfile-1.5.4/arch/ppc64.c
|
|
===================================================================
|
|
--- makedumpfile-1.5.4.orig/arch/ppc64.c
|
|
+++ makedumpfile-1.5.4/arch/ppc64.c
|
|
@@ -49,7 +49,7 @@ set_ppc64_max_physmem_bits(void)
|
|
int
|
|
get_machdep_info_ppc64(void)
|
|
{
|
|
- unsigned long vmlist, vmalloc_start;
|
|
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
|
|
|
info->section_size_bits = _SECTION_SIZE_BITS;
|
|
if (!set_ppc64_max_physmem_bits()) {
|