]> err.no Git - linux-2.6/commit
[ARM] Ensure machine information structures aren't optimised away
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 29 Oct 2005 12:15:10 +0000 (13:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Oct 2005 12:15:10 +0000 (13:15 +0100)
commitfb31690fbac6f4055c1765522752e4746759f5de
tree6b8b2375f122a3771aadebeba7344829a6ae88ed
parent8a212ab6b8a4ccc6f3c3d1beba5f92655c576404
[ARM] Ensure machine information structures aren't optimised away

Since the machine information structures are now static, the
compiler might optimise them away.  Mark them with
__attribute_used__ to prevent this occuring.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/mach/arch.h