]> git.ipfire.org Git - thirdparty/qemu.git/commit
bsd-user: Make compile for non-linux user-mode stuff
authorWarner Losh <imp@bsdimp.com>
Sun, 21 Jul 2024 22:29:03 +0000 (16:29 -0600)
committerWarner Losh <imp@bsdimp.com>
Tue, 23 Jul 2024 16:56:30 +0000 (10:56 -0600)
commit1c687f65b4cd4af2bf4732fd327a4f63c8c33e30
treeec4da657d39ca7c90319af269881700d67c0cf98
parent5fa2a10ba6822fc1e500e921dcae344db46e1649
bsd-user: Make compile for non-linux user-mode stuff

We include the files that define PR_MTE_TCF_SHIFT only on Linux, but use
them unconditionally. Restrict its use to Linux-only.

"It's ugly, but it's not actually wrong."

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/gdbstub64.c