From: Andi Kleen Date: Mon, 17 Sep 2012 21:09:15 +0000 (-0700) Subject: compiler.h: add __visible X-Git-Tag: v3.6-rc7~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a858dc7cebce01a7bb616bebb85087fa2b40871;p=pandora-kernel.git compiler.h: add __visible gcc 4.6+ has support for a externally_visible attribute that prevents the optimizer from optimizing unused symbols away. Add a __visible macro to use it with that compiler version or later. This is used (at least) by the "Link Time Optimization" patchset. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed