ia64/xen-unstable

changeset 18636:6583186e5989

[IA64] fix compilation error of xen/common/spinlock.c

This patch fixes the error in the x86 tree.
> spinlock.c: In function _spin_lock_recursive:
> spinlock.c:59: error: dereferencing pointer to incomplete type

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Oct 22 11:38:22 2008 +0900 (2008-10-22)
parents e23c1f241c7b
children 46d7e12c4c91
files xen/include/asm-ia64/linux-xen/asm/smp.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/smp.h	Fri Oct 17 18:24:57 2008 +0900
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/smp.h	Wed Oct 22 11:38:22 2008 +0900
     1.3 @@ -47,6 +47,7 @@ ia64_get_lid (void)
     1.4  #define SMP_IPI_REDIRECTION	(1 << 1)
     1.5  
     1.6  #ifdef XEN
     1.7 +#include <xen/sched.h>
     1.8  #define raw_smp_processor_id() (current->processor)
     1.9  #else
    1.10  #define raw_smp_processor_id() (current_thread_info()->cpu)