ia64/xen-unstable

changeset 19846:5d35b3f7898b

[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@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:23:31 2009 +0900 (2009-06-29)
parents 02003bee3e80
children 772e809e58ce
files xen/arch/ia64/linux-xen/unwind.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/unwind.c	Thu Jun 25 18:31:10 2009 +0100
     1.2 +++ b/xen/arch/ia64/linux-xen/unwind.c	Mon Jun 29 11:23:31 2009 +0900
     1.3 @@ -36,6 +36,9 @@
     1.4  #include <xen/errno.h>
     1.5  
     1.6  // work around
     1.7 +// write_trylock() does bug check, but stack unwinder can be called
     1.8 +// subtle situation, so skip bug check.
     1.9 +#undef write_trylock(lock)
    1.10  #ifdef CONFIG_SMP
    1.11  #define write_trylock(lock)	_raw_write_trylock(lock)
    1.12  #else