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

[Xen-ia64-devel] Re: simplify hw_irq.h

Hi Eddie.
Thank you for the patches.

ia64_vector is for iosapic redirect vector which is 8bit width, isn't it?
So just unconditionally replacing u8 with u16 seems unreasonable.
How about the following?

#ifndef CONFIG_PARAVIRT
typedef u8 ia64_vector;
#else
typedef u16 ia64_vector;
#endif


On Tue, Mar 18, 2008 at 09:30:19PM +0800, Dong, Eddie wrote:

> This one should be safe and easy to be accepted to remove
> CONFIG_XEN.
> 
> 
>     Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@xxxxxxxxx>
> 
> diff --git a/include/asm-ia64/hw_irq.h b/include/asm-ia64/hw_irq.h
> index 80009cd..f670433 100644
> --- a/include/asm-ia64/hw_irq.h
> +++ b/include/asm-ia64/hw_irq.h
> @@ -15,11 +15,7 @@
>  #include <asm/ptrace.h>
>  #include <asm/smp.h>
> 
> -#ifndef CONFIG_XEN
> -typedef u8 ia64_vector;
> -#else
>  typedef u16 ia64_vector;
> -#endif
> 
>  /*
>   * 0 special



-- 
yamahata

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

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