Skip to content

Commit

Permalink
ARM: opcodes: add missing include of linux/linkage.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Deacon committed Jan 10, 2013
1 parent 9931fac commit 6d63f64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/include/asm/opcodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6d63f64

Please sign in to comment.