]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
powerpc: Make powerpc_firmware_features __read_mostly
authorAnton Blanchard <anton@samba.org>
Sun, 7 Feb 2010 13:07:36 +0000 (13:07 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Feb 2010 02:56:07 +0000 (13:56 +1100)
We use firmware_has_feature quite a lot these days, so it's worth putting
powerpc_firmware_features into __read_mostly.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/firmware.c

index 1679a70bbcad7e6bfe2370c142c2bd9b33688db5..6b1f4271eb5366a4ce8855b2a1b55ebfd46a4631 100644 (file)
@@ -17,5 +17,5 @@
 
 #include <asm/firmware.h>
 
-unsigned long powerpc_firmware_features;
+unsigned long powerpc_firmware_features __read_mostly;
 EXPORT_SYMBOL_GPL(powerpc_firmware_features);