]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
x86/xen: Introduce atomic_readandclear_xen_ulong
authorJulien Grall <julien.grall@linaro.org>
Sun, 20 Apr 2014 13:56:35 +0000 (14:56 +0100)
committerJulien Grall <julien.grall@citrix.com>
Mon, 19 Oct 2015 14:50:58 +0000 (15:50 +0100)
sys/x86/include/xen/xen-os.h

index fe6ebc52a673978fda2a85a99d6428f2c8e4f65e..4c81af45eb45770c9d31f1a0f1dd24a76b7add29 100644 (file)
@@ -71,6 +71,8 @@ cpu_to_vcpu_id(u_int cpuid)
        return (pcpu_find(cpu)->pc_vcpu_id);
 }
 
+#define atomic_readandclear_xen_ulong(p) atomic_readandclear_long(p)
+
 #endif /* !__ASSEMBLY__ */
 
 #endif /* _MACHINE_X86_XEN_XEN_OS_H_ */