From: Wolfram Sang Date: Wed, 25 May 2011 09:34:57 +0000 (+0200) Subject: arm: mxs: include asm/processor.h for cpu_relax() X-Git-Tag: v3.0-rc4~35^2~4^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad377c630864e2609c54385907493dbf68a34295;p=profile%2Fivi%2Fkernel-x86-ivi.git arm: mxs: include asm/processor.h for cpu_relax() I get this build error as of today: arch/arm/mach-mxs/ocotp.c: In function 'mxs_get_ocotp': arch/arm/mach-mxs/ocotp.c:54: error: implicit declaration of function 'cpu_relax' make[2]: *** [arch/arm/mach-mxs/ocotp.o] Error 1 Looks like it has been indirectly included before which broke now. Include it directly. Signed-off-by: Wolfram Sang Cc: Shawn Guo Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c index 65157a3..54add60 100644 --- a/arch/arm/mach-mxs/ocotp.c +++ b/arch/arm/mach-mxs/ocotp.c @@ -16,6 +16,8 @@ #include #include +#include /* for cpu_relax() */ + #include #define OCOTP_WORD_OFFSET 0x20