ARM: opcodes: add missing include of linux/linkage.h
authorWill Deacon <will.deacon@arm.com>
Wed, 12 Dec 2012 19:13:42 +0000 (19:13 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 10 Jan 2013 21:10:20 +0000 (21:10 +0000)
opcodes.h wants to declare an asmlinkage function, so we need to include
linux/linkage.h

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/opcodes.h

index 74e211a6fb2442b1e35750065923a148e63e37e3..e796c598513bad226b10e89497af848082c6cac8 100644 (file)
@@ -10,6 +10,7 @@
 #define __ASM_ARM_OPCODES_H
 
 #ifndef __ASSEMBLY__
+#include <linux/linkage.h>
 extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
 #endif