From: Ian Jackson Date: Thu, 11 Sep 2008 16:30:36 +0000 (+0100) Subject: Fix to exec-all.h for stubdom X-Git-Tag: t.master-before-merge~90 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=aabab131daf42621d2b9c1352b3dbdf27840df62;p=qemu-xen-4.2-testing.git 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 --- 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;