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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [IA64] fix compilation error of xen/commo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] fix compilation error of xen/common/spinlock.c
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Oct 2008 07:51:13 -0700
Delivery-date: Wed, 22 Oct 2008 07:55:04 -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 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)
 #define raw_smp_processor_id() (current_thread_info()->cpu)

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] fix compilation error of xen/common/spinlock.c, Xen patchbot-unstable <=