Re: [PATCH 2/2] jump label: disable due to compiler bug

From: David Daney
Date: Fri Oct 29 2010 - 13:18:24 EST


On 10/29/2010 09:18 AM, Steven Rostedt wrote:
On Fri, 2010-10-29 at 09:35 -0400, Mathieu Desnoyers wrote:
* Steven Rostedt (rostedt@xxxxxxxxxxx) wrote:

Then in the code have:

-#if defined(CC_HAVE_ASM_GOTO)&& defined(CONFIG_HAVE_ARCH_JUMP_LABEL)
+#if defined(CC_HAVE_ASM_GOTO)&& defined(CONFIG_HAVE_ARCH_JUMP_LABEL) \

Technically, you could remove the dependency on
"defined(CONFIG_HAVE_ARCH_JUMP_LABEL)", because it is now dealt with at
the Kconfig level (CONFIG_JUMP_LABEL depends on it).

Yeah, I noticed that just after hitting send.


+ && defined(JUMP_LABEL)

this would be defined(CONFIG_JUMP_LABEL)

Yep, this too, but thanks for pointing it out.



The rest looks fine,

Great, can I add your acked-by then?


I hate to continue beating a dead horse, but RTH just committed the GCC patch, and it will be part of GCC-4.5.2 and later.

Should this knowledge be builtin to the jump label enabling calculus?

David Daney

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/