diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0001-linux-user-Replace-__u64-with-uint64_t.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0001-linux-user-Replace-__u64-with-uint64_t.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0001-linux-user-Replace-__u64-with-uint64_t.patch b/meta/recipes-devtools/qemu/qemu/0001-linux-user-Replace-__u64-with-uint64_t.patch deleted file mode 100644 index 3d5c890b0f..0000000000 --- a/meta/recipes-devtools/qemu/qemu/0001-linux-user-Replace-__u64-with-uint64_t.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 5cc7b63299602d0aa8b57c684bbd9829856d54ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 8 Nov 2021 11:39:26 -0800 | ||
4 | Subject: [PATCH] linux-user: Replace __u64 with uint64_t | ||
5 | |||
6 | uint64_t is available in all userspaces via compiler include stdint.h | ||
7 | therefore use it instead of __u64 which is linux internal type, it fixes | ||
8 | build on some platforms eg. aarch64 systems using musl C library | ||
9 | |||
10 | Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-11/msg01955.html] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | linux-user/host/aarch64/hostdep.h | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/linux-user/host/aarch64/hostdep.h b/linux-user/host/aarch64/hostdep.h | ||
17 | index a8d41a21ad..34d934f665 100644 | ||
18 | --- a/linux-user/host/aarch64/hostdep.h | ||
19 | +++ b/linux-user/host/aarch64/hostdep.h | ||
20 | @@ -25,7 +25,7 @@ extern char safe_syscall_end[]; | ||
21 | static inline void rewind_if_in_safe_syscall(void *puc) | ||
22 | { | ||
23 | ucontext_t *uc = puc; | ||
24 | - __u64 *pcreg = &uc->uc_mcontext.pc; | ||
25 | + uint64_t *pcreg = &uc->uc_mcontext.pc; | ||
26 | |||
27 | if (*pcreg > (uintptr_t)safe_syscall_start | ||
28 | && *pcreg < (uintptr_t)safe_syscall_end) { | ||
29 | -- | ||
30 | 2.33.1 | ||
31 | |||