diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-29 20:14:36 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-01-29 20:54:23 +0100 |
commit | 4927ace0dd70205553c501b36f585e5494d55dac (patch) | |
tree | 738e5ab693704349f56aae6471baa333ebdd9797 /emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c | |
parent | cad/verilator: Moved man to share/man (diff) |
Diffstat (limited to 'emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c | 11 |
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 + |