summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/opcodes.h
diff options
context:
space:
mode:
authorWill Deacon2012-12-12 20:13:42 +0100
committerWill Deacon2013-01-10 22:10:20 +0100
commit6d63f6466da4385f08a2a1b47779704bf60702b1 (patch)
tree6526d47ed00c764d55f3340bc7cc583d78674abf /arch/arm/include/asm/opcodes.h
parentLinux 3.8-rc3 (diff)
downloadkernel-qcow2-linux-6d63f6466da4385f08a2a1b47779704bf60702b1.tar.gz
kernel-qcow2-linux-6d63f6466da4385f08a2a1b47779704bf60702b1.tar.xz
kernel-qcow2-linux-6d63f6466da4385f08a2a1b47779704bf60702b1.zip
ARM: opcodes: add missing include of linux/linkage.h
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>
Diffstat (limited to 'arch/arm/include/asm/opcodes.h')
-rw-r--r--arch/arm/include/asm/opcodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/opcodes.h b/arch/arm/include/asm/opcodes.h
index 74e211a6fb24..e796c598513b 100644
--- a/arch/arm/include/asm/opcodes.h
+++ b/arch/arm/include/asm/opcodes.h
@@ -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