[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] remove a warning
# HG changeset patch # User Isaku Yamahata <yamahata@xxxxxxxxxxxxx> # Date 1246242211 -32400 # Node ID 5d35b3f7898b99979d4426596a45404bfec38be0 # Parent 02003bee3e808478a933e84c9f046542a6be4672 [IA64] remove a warning This patch removes the following warning. > unwind.c:40:1: warning: "write_trylock" redefined > In file included from xen/include/xen/sched.h:7, > from unwind.c:33: > xen/include/xen/spinlock.h:115:1: warning: this is the location of the > previous definition Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- xen/arch/ia64/linux-xen/unwind.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 02003bee3e80 -r 5d35b3f7898b xen/arch/ia64/linux-xen/unwind.c --- a/xen/arch/ia64/linux-xen/unwind.c Thu Jun 25 18:31:10 2009 +0100 +++ b/xen/arch/ia64/linux-xen/unwind.c Mon Jun 29 11:23:31 2009 +0900 @@ -36,6 +36,9 @@ #include <xen/errno.h> // work around +// write_trylock() does bug check, but stack unwinder can be called +// subtle situation, so skip bug check. +#undef write_trylock(lock) #ifdef CONFIG_SMP #define write_trylock(lock) _raw_write_trylock(lock) #else _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |