git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c678da
)
x86, boot: Use __attribute__((used)) to ensure videocard structs are emitted
author
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 8 Jan 2014 11:21:21 +0000
(11:21 +0000)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 22 Jan 2014 12:21:45 +0000
(
04:21
-0800)
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 <David.Woodhouse@intel.com>
Link:
http://lkml.kernel.org/r/1389180083-23249-2-git-send-email-David.Woodhouse@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/video.h
patch
|
blob
|
history
diff --cc
arch/x86/boot/video.h
Simple merge