From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH] fix ia64 build Date: Wed, 03 Jan 2007 20:03:45 -0700 Message-ID: <1167879825.14363.33.camel@bling> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org This patch is necessary to build on ia64 with xen-unstable.hg cset 13214. Thanks, Alex Signed-off-by: Alex Williamson --- 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 */