Subject: Re: [PATCH 2/2] don't compile SGI XP/GRU on ia64_generic

From: Robin Holt <[email-masked]>
Date: Tue, 10 Feb 2009 06:51:57 -0600

Dean Nelson submitted a patch yesterday to make this work.

Robin

On Tue, Feb 10, 2009 at 09:03:40PM +0900, KOSAKI Motohiro wrote:
> Subject: [PATCH] ia64: don't compile SGI-XP on ia64 generic.
> Impact: fix build error
> 
> Currently sgi-xp driver depend on "uv.h" header file.
> but only x86 have "uv.h" header.
> 
> Then, ia64 hit following build error.
> 
>   In file included from drivers/misc/sgi-xp/xp_main.c:19:
>   drivers/misc/sgi-xp/xp.h:18:23: error: asm/uv/uv.h: No such file or directory
>   make[3]: *** [drivers/misc/sgi-xp/xp_main.o] Error 1
>   make[2]: *** [drivers/misc/sgi-xp] Error 2
> 
> Cc: Jack Steiner <[email-masked]>
> Cc: Dean Nelson <[email-masked]>
> Signed-off-by: KOSAKI Motohiro <[email-masked]>
> ---
>  drivers/misc/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/drivers/misc/Kconfig
> ===================================================================
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -162,7 +162,7 @@ config ENCLOSURE_SERVICES
>  config SGI_XP
>  	tristate "Support communication between SGI SSIs"
>  	depends on NET
> -	depends on (IA64_GENERIC || IA64_SGI_SN2 || IA64_SGI_UV || X86_UV) && SMP
> +	depends on (IA64_SGI_SN2 || IA64_SGI_UV || X86_UV) && SMP
>  	select IA64_UNCACHED_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2
>  	select GENERIC_ALLOCATOR if IA64_GENERIC || IA64_SGI_SN2
>  	select SGI_GRU if (IA64_SGI_UV || X86_UV) && SMP
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to [email-masked]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html