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

From: KOSAKI Motohiro
Date: Tue Feb 10 2009 - 07:03:57 EST


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 <steiner@xxxxxxx>
Cc: Dean Nelson <dcn@xxxxxxx>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
---
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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/