[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] fix ia64 build


  • To: Alex Williamson <alex.williamson@xxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Thu, 04 Jan 2007 09:49:24 +0000
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 04 Jan 2007 01:49:15 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Accv5Z2D284VG5vYEduNhgAX8io7RQ==
  • Thread-topic: [PATCH] fix ia64 build

There's nothing in kernel.h of use to asm files. If erroneous inclusion is
happening due to some include spaghetti, let's clean that up rather than
work around it.

 -- Keir

On 4/1/07 03:03, "Alex Williamson" <alex.williamson@xxxxxx> wrote:

> 
>    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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.