WARNING - OLD ARCHIVES

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

xen-devel

[Xen-devel] [PATCH] fix ia64 build

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix ia64 build
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 03 Jan 2007 20:03:45 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 03 Jan 2007 19:03:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
   This patch is necessary to build on ia64 with xen-unstable.hg cset
13214.  Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 60f91c9f1a24 xen/include/xen/kernel.h
--- a/xen/include/xen/kernel.h  Wed Jan 03 23:53:27 2007 +0000
+++ b/xen/include/xen/kernel.h  Wed Jan 03 19:55:42 2007 -0700
@@ -56,6 +56,7 @@
        1;                                      \
 })
 
+#ifndef __ASSEMBLY__
 extern char _start[], _end[];
 #define is_kernel(p) ({                         \
     char *__p = (char *)(unsigned long)(p);     \
@@ -73,6 +74,6 @@ extern char _sinittext[], _einittext[];
     char *__p = (char *)(unsigned long)(p);     \
     (__p >= _sinittext) && (__p <= _einittext); \
 })
-
+#endif /* !__ASSEMBLY__ */
 #endif /* _LINUX_KERNEL_H */
 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>