Re: [PATCH 27/74] lto: Mark EXPORT_SYMBOL symbols __visible

From: Andi Kleen
Date: Mon Aug 20 2012 - 05:49:34 EST


> Really, why? Seems like a win to have them eliminated if unused.
>
> Naively, I would think many cases of __visible should be #ifdef
> CONFIG_MODULES. What am I missing?

It worked around some problem I forgot now :)

You're right it shouldn't be needed in theory for !MODULES. I'll double
check.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/