OSDN Git Service

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 1679a70..6b1f427 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);