aboutsummaryrefslogtreecommitdiff
path: root/scripts/xen-detect.c
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2023-08-13 10:41:24 +0200
committerWarner Losh <imp@bsdimp.com>2023-08-28 12:16:18 -0600
commit6538c682db9c2b34fbffc22e111a4bcd8f4b02de (patch)
treef06c7599a07a7fe294002680a06faadaff708c20 /scripts/xen-detect.c
parent15b950ecd16ecc6e9a1f21e1f9f185ee61a5a1d5 (diff)
downloadqemu-6538c682db9c2b34fbffc22e111a4bcd8f4b02de.zip
qemu-6538c682db9c2b34fbffc22e111a4bcd8f4b02de.tar.gz
qemu-6538c682db9c2b34fbffc22e111a4bcd8f4b02de.tar.bz2
bsd-user; Update the definitions of __put_user and __get_user macros
Use __builtin_choose_expr to avoid type promotion from ?: in __put_user_e and __get_user_e macros. Copied from linux-user/qemu.h, originally by Blue Swirl. Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/xen-detect.c')
0 files changed, 0 insertions, 0 deletions