[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] fix compilation error of xen/common/spinlock.c
# HG changeset patch # User Isaku Yamahata <yamahata@xxxxxxxxxxxxx> # Date 1224643102 -32400 # Node ID 6583186e5989d7e7e0bff126cd20a9cacb7c1613 # Parent e23c1f241c7b3ba68fe4686328a6cfdd3f18cd51 [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@xxxxxxxxxxxxx> --- xen/include/asm-ia64/linux-xen/asm/smp.h | 1 + 1 files changed, 1 insertion(+) diff -r e23c1f241c7b -r 6583186e5989 xen/include/asm-ia64/linux-xen/asm/smp.h --- a/xen/include/asm-ia64/linux-xen/asm/smp.h Fri Oct 17 18:24:57 2008 +0900 +++ b/xen/include/asm-ia64/linux-xen/asm/smp.h Wed Oct 22 11:38:22 2008 +0900 @@ -47,6 +47,7 @@ ia64_get_lid (void) #define SMP_IPI_REDIRECTION (1 << 1) #ifdef XEN +#include <xen/sched.h> #define raw_smp_processor_id() (current->processor) #else #define raw_smp_processor_id() (current_thread_info()->cpu) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |