[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [IA64] add ia64 _raw_rw_is_write_locked
[IA64] add ia64 _raw_rw_is_write_locked This patch fixes the following link error. xen/common/built_in.o: In function `_rw_is_write_locked': xen/common/spinlock.c:249: undefined reference to `_raw_rw_is_write_locked' make[3]: *** [xen/xen-syms] Error 1 Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> diff --git a/xen/include/asm-ia64/linux-xen/asm/spinlock.h b/xen/include/asm-ia64/linux-xen/asm/spinlock.h --- a/xen/include/asm-ia64/linux-xen/asm/spinlock.h +++ b/xen/include/asm-ia64/linux-xen/asm/spinlock.h @@ -112,5 +112,6 @@ do { \ }) #define _raw_rw_is_locked(x) (*(int *)(x) != 0) +#define _raw_rw_is_write_locked(x) (test_bit(31, (x))) #endif /* _ASM_IA64_SPINLOCK_H */ -- yamahata _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |