summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-29 20:14:36 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-29 20:54:23 +0100
commit4927ace0dd70205553c501b36f585e5494d55dac (patch)
tree738e5ab693704349f56aae6471baa333ebdd9797 /emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
parentcad/verilator: Moved man to share/man (diff)
emulators/qemu-devel: Update version 8.3.0.20231231=>8.3.0.20240126
Diffstat (limited to 'emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c')
-rw-r--r--emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
index 499de6e86db0..ae39b6c3f4ae 100644
--- a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
+++ b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c
@@ -1,13 +1,16 @@
---- util/cpuinfo-ppc.c.orig 2023-08-29 11:28:39 UTC
+--- util/cpuinfo-ppc.c.orig 2024-01-26 18:16:35 UTC
+++ util/cpuinfo-ppc.c
-@@ -9,8 +9,14 @@
+@@ -6,11 +6,17 @@
+ #include "qemu/osdep.h"
+ #include "host/cpuinfo.h"
+
+-#include <asm/cputable.h>
#ifdef CONFIG_GETAUXVAL
# include <sys/auxv.h>
- #else
--# include <asm/cputable.h>
+# ifdef __linux__
+# include <asm/cputable.h>
+# endif
+ #else
# include "elf.h"
+#endif
+