WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] add ia64 _raw_rw_is_write_locked
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 May 2009 04:31:01 -0700
Delivery-date: Wed, 27 May 2009 04:33:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] add ia64 _raw_rw_is_write_locked, Xen patchbot-unstable <=