Module Name: src Committed By: cherry Date: Wed Oct 10 04:16:58 UTC 2018
Modified Files: src/sys/arch/xen/include: xen.h Log Message: In xen_atomic_test_and_clear_bit() Use the appropriate sized variable for inline assembler. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/xen/include/xen.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/include/xen.h diff -u src/sys/arch/xen/include/xen.h:1.40 src/sys/arch/xen/include/xen.h:1.41 --- src/sys/arch/xen/include/xen.h:1.40 Sun Oct 7 11:25:55 2018 +++ src/sys/arch/xen/include/xen.h Wed Oct 10 04:16:58 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: xen.h,v 1.40 2018/10/07 11:25:55 mlelstv Exp $ */ +/* $NetBSD: xen.h,v 1.41 2018/10/10 04:16:58 cherry Exp $ */ /* * @@ -248,7 +248,7 @@ xen_atomic_clearbits_l (volatile XATOMIC static __inline XATOMIC_T xen_atomic_test_and_clear_bit(volatile void *ptr, unsigned long bitno) { - int result; + long result; __asm volatile(__LOCK_PREFIX #ifdef __x86_64__