compiler.h: avoid escaped section names
[linux-2.6-microblaze.git] / include / linux / compiler.h
index 92ef163..ac45f6d 100644 (file)
@@ -155,7 +155,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
        extern typeof(sym) sym;                                 \
        static const unsigned long __kentry_##sym               \
        __used                                                  \
-       __section("___kentry" "+" #sym )                        \
+       __attribute__((__section__("___kentry+" #sym)))         \
        = (unsigned long)&sym;
 #endif