From aabab131daf42621d2b9c1352b3dbdf27840df62 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 11 Sep 2008 17:30:36 +0100 Subject: [PATCH] Fix to exec-all.h for stubdom I (iwj) mistakenly dropped this patch which is in fact necessary for stubdom. (This these changes was originally written by Samuel for an older version of qemu-remote.) Signed-off-by: Stefano Stabellini --- exec-all.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exec-all.h b/exec-all.h index 8d4e6f608..f9475df95 100644 --- a/exec-all.h +++ b/exec-all.h @@ -307,7 +307,9 @@ extern void *io_mem_opaque[IO_MEM_NB_ENTRIES]; #include -#elif defined(__hppa__) +#else + +#if defined(__hppa__) typedef int spinlock_t[4]; @@ -519,6 +521,8 @@ static inline int spin_trylock(spinlock_t *lock) } #endif +#endif + extern spinlock_t tb_lock; extern int tb_invalidated_flag; -- 2.39.5