Thread (1 message) 1 message, 1 author, 2012-12-18
DORMANTno replies REVIEWED: 1 (0M)

1 review trailer.

[PATCH v3 1/6] ARM: opcodes: add missing include of linux/linkage.h

From: Will Deacon <hidden>
Date: 2012-12-18 17:53:11
Also in: linux-devicetree
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

opcodes.h wants to declare an asmlinkage function, so we need to include
linux/linkage.h

Acked-by: Dave Martin <redacted>
Signed-off-by: Will Deacon <redacted>
---
 arch/arm/include/asm/opcodes.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/opcodes.h b/arch/arm/include/asm/opcodes.h
index 74e211a..e796c59 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
 
-- 
1.8.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help