]> git.baikalelectronics.ru Git - kernel.git/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)
commit315d0ff367b8e3342a90706cbf83c52d6eef1c2d
tree6b8b2375f122a3771aadebeba7344829a6ae88ed
parente5f13b0568f1c0b244bf9bca553f9607dda567ee
[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