From b4ea1101f8ee890eb08106a070a4d7aa312f78b2 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Wed, 1 Aug 2012 15:22:41 -0400 Subject: [PATCH] LU-1461 build: asm/cpufeature.h is only available on x86 Only include it if ARCH_X86 is defined. Change-Id: I6af260d6d753853c015885f33892b789948f1cff Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/3510 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Alexander Boyko --- lustre/include/linux/obd_support.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h index 4fdb4e5..69149cf 100644 --- a/lustre/include/linux/obd_support.h +++ b/lustre/include/linux/obd_support.h @@ -42,7 +42,9 @@ #endif #ifdef __KERNEL__ +#ifdef CONFIG_X86 #include +#endif #include #include #include -- 1.8.3.1