lkml.org 
[lkml]   [2009]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] don't compile SGI XP/GRU on ia64_generic
Date
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@sgi.com>
Cc: Dean Nelson <dcn@sgi.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
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



\
 
 \ /
  Last update: 2009-02-10 13:07    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site