[PATCHv2 0/6] ARM: jump label support
From: Dave Martin <hidden>
Date: 2012-01-31 11:11:28
On Tue, Jan 31, 2012 at 08:23:14AM +0000, Jon Medhurst (Tixy) wrote:
On Sat, 2012-01-28 at 19:05 +0530, Rabin Vincent wrote:quoted
v2: - Use helper macros from Dave Martin's "ARM: Add generic instruction opcode manipulation helpers" http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7278/1This patch is broken, it contains two diff listings for arch/arm/include/asm/opcodes.h The second one looks more correct as the diff accounts for commit 0c9030deaf59d444 (ARM: 7206/1: Add generic ARM instruction set condition code checks). However, when opcodes.h is included in assembler files it produces error as it #includes C headers.
Erm, I'm really not sure what happened there... it looks like I somehow pasted together an old and a new submission in one file whem I submittedo it. The mind boggles.
Moving the #ifndef __ASSEMBLY__ to above the #includes makes things compile cleanly... +#ifndef __ASSEMBLY__ #include <linux/types.h> #include <linux/swab.h> -#ifndef __ASSEMBLY__
This is straightforwardly fixed -- I'll fix these issues and post back to the list. Now reposted here: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-January/082603.html When people have had a chance to review, I'll update the patch in the patch system. Cheers ---Dave