On 3/18/25 14:31, Richard Henderson wrote:
Split out mmap_lock, et al from page-protection.h to a new header.Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
This breaks bsd-user which needs some extra includes as well. See here for details and a patch fixing it [1] (also attached to this email). [1] https://github.com/pbo-linaro/qemu/commit/86581aa3a01b62f1cd7797fc9df6fbc98be565ef Regards, Pierrick
From 86581aa3a01b62f1cd7797fc9df6fbc98be565ef Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: Mon, 31 Mar 2025 14:28:05 -0700 Subject: [PATCH] FIX bsd-user: missing include mmap-lock.h Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> --- bsd-user/bsd-mem.h | 1 + bsd-user/mmap.c | 1 + 2 files changed, 2 insertions(+) diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h index 90ca0e33775..1be906c5914 100644 --- a/bsd-user/bsd-mem.h +++ b/bsd-user/bsd-mem.h @@ -56,6 +56,7 @@ #include <fcntl.h> #include "qemu-bsd.h" +#include "exec/mmap-lock.h" #include "exec/page-protection.h" #include "user/page-protection.h" diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c index 3f0df79c375..47e317517cb 100644 --- a/bsd-user/mmap.c +++ b/bsd-user/mmap.c @@ -17,6 +17,7 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" +#include "exec/mmap-lock.h" #include "exec/page-protection.h" #include "user/page-protection.h" -- 2.39.5