Skip to contentSkip to conversation

powerpc: Make powerpc_firmware_features __read_mostly

PATCH Anton Blanchard 1 participant 1 message Feb 7, 2010 PowerPC

lore
Share & tools
lore
#0 lore raw

We use firmware_has_feature quite a lot these days, so it's worth putting powerpc_firmware_features into __read_mostly.

---

arch/powerpc/kernel/firmware.c +1 -1
Index: powerpc.git/arch/powerpc/kernel/firmware.c
===================================================================
@@ -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);