From: David Woodhouse Date: Wed, 8 Jan 2014 11:21:21 +0000 (+0000) Subject: x86, boot: Use __attribute__((used)) to ensure videocard structs are emitted X-Git-Tag: v3.14-rc1~35^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3965f7401b0cc3ed2c228085a4c13b1c9243b1;p=pandora-kernel.git x86, boot: Use __attribute__((used)) to ensure videocard structs are emitted It looks like GCC will always emit an object that is marked with an explicit section, although the documentation doesn't say that and we possibly shouldn't be relying on it. Clang does *not* do so, so add __attribute__((used)) to make sure. Signed-off-by: David Woodhouse Link: http://lkml.kernel.org/r/1389180083-23249-2-git-send-email-David.Woodhouse@intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed