Skip to content

Commit 84c046b

Browse files
geertuglaubitz
authored andcommitted
sh: sh2a: Add missing #include <asm/processor.h>
arch/sh/kernel/cpu/sh2a/opcode_helper.c:34:14: warning: no previous prototype for 'instruction_size' [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/8314dd9a966394dd1fd82d88095c57d9778fcfc9.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent 41899dc commit 84c046b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/sh/kernel/cpu/sh2a/opcode_helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
*/
99
#include <linux/kernel.h>
1010

11+
#include <asm/processor.h>
12+
1113
/*
1214
* Instructions on SH are generally fixed at 16-bits, however, SH-2A
1315
* introduces some 32-bit instructions. Since there are no real

0 commit comments

Comments
 (0)