summaryrefslogtreecommitdiff
path: root/xen/evt.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/evt.c')
-rw-r--r--xen/evt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/evt.c b/xen/evt.c
index 345e1d06..c62e1d59 100644
--- a/xen/evt.c
+++ b/xen/evt.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007 Samuel Thibault <samuel.thibault@ens-lyon.org>
+ * Copyright (C) 2007-2009 Free Software Foundation
*
* This program is free software ; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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<<j)));
+ asm ("lock; and %1,%0":"=m"(hyp_shared_info.evtchn_pending[i]):"r"(~(1UL<<j)));
ivect[n](iunit[n], spl, ret_addr, regs);
splx_cli(spl);
} else {
printf("warning: lost unbound event %d\n", n);
- asm ("lock; andl %1,%0":"=m"(hyp_shared_info.evtchn_pending[i]):"r"(~(1<<j)));
+ asm ("lock; and %1,%0":"=m"(hyp_shared_info.evtchn_pending[i]):"r"(~(1UL<<j)));
}
}
}