diff options
author | David Woodhouse <[email protected]> | 2014-01-08 11:21:21 +0000 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2014-01-22 04:21:45 -0800 |
commit | 9b3965f7401b0cc3ed2c228085a4c13b1c9243b1 (patch) | |
tree | 7f83f65c885883114f7583f913e24931ad726b47 /net/lapb/lapb_out.c | |
parent | 1c678da3bd1339299ab667af68cad5032367fb1c (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions