From ebd25e44eedf683551f0914137ff0f4f0a1a1858 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Mar 2012 20:48:23 +0100 Subject: Fix assembly snippet portability * xen/evt.c (hyp_c_callback): Do not set assembly instruction suffixes, using 1UL constant instead. --- xen/evt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/evt.c b/xen/evt.c index 6346baa0..c62e1d59 100644 --- a/xen/evt.c +++ b/xen/evt.c @@ -62,12 +62,12 @@ void hyp_c_callback(void *ret_addr, void *regs) if (ivect[n]) { spl_t spl = splx(intpri[n]); - asm ("lock; andl %1,%0":"=m"(hyp_shared_info.evtchn_pending[i]):"r"(~(1<