[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] add ia64 _raw_rw_is_write_locked



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243422032 -3600
# Node ID 411ecf6d1f1926a4e778cfc852caffffcf6ad2f5
# Parent  28a197617286f21891473eda2d0b58d2191d6cf6
[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>
---
 xen/include/asm-ia64/linux-xen/asm/spinlock.h |    1 +
 1 files changed, 1 insertion(+)

diff -r 28a197617286 -r 411ecf6d1f19 
xen/include/asm-ia64/linux-xen/asm/spinlock.h
--- a/xen/include/asm-ia64/linux-xen/asm/spinlock.h     Wed May 27 11:29:38 
2009 +0100
+++ b/xen/include/asm-ia64/linux-xen/asm/spinlock.h     Wed May 27 12:00:32 
2009 +0100
@@ -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 */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.