libkdumpfile/libkdumpfile-0.4.1-fix-for-gcc12.patch
Michel Alexandre Salim a285e1b4f0 Update to 0.4.1
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-21 16:55:44 -07:00

12 lines
476 B
Diff

diff '--color=auto' -ruN libkdumpfile-0.4.1/src/kdumpfile/devmem.c libkdumpfile-0.4.1-fix-for-gcc12/src/kdumpfile/devmem.c
--- libkdumpfile-0.4.1/src/kdumpfile/devmem.c 2020-02-13 06:48:02.000000000 -0800
+++ libkdumpfile-0.4.1-fix-for-gcc12/src/kdumpfile/devmem.c 2022-04-21 16:54:42.830664327 -0700
@@ -84,6 +84,7 @@
}
}
+__attribute__((__noipa__))
static int
xen_cpuid(uint32_t leaf, uint32_t subleaf,
uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx)