Whamcloud - gitweb
LU-1461 build: asm/cpufeature.h is only available on x86
authorOleg Drokin <green@whamcloud.com>
Wed, 1 Aug 2012 19:22:41 +0000 (15:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 20 Aug 2012 13:35:49 +0000 (09:35 -0400)
Only include it if ARCH_X86 is defined.

Change-Id: I6af260d6d753853c015885f33892b789948f1cff
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/3510
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander_boyko@xyratex.com>
lustre/include/linux/obd_support.h

index 4fdb4e5..69149cf 100644 (file)
@@ -42,7 +42,9 @@
 #endif
 
 #ifdef __KERNEL__
+#ifdef CONFIG_X86
 #include <asm/cpufeature.h>
+#endif
 #include <asm/processor.h>
 #include <linux/seq_file.h>
 #include <linux/module.h>