summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-02-07 14:07:36 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-02-09 03:56:07 +0100
commit0b9612c210f6bf6efb32ab84b8f34018eaacb08d (patch)
treed7023e6c4ef872292e2187df37acd9cb7113465a /arch/powerpc/kernel
parentpowerpc: Reformat SD_NODE_INIT to match x86 (diff)
downloadlinux-0b9612c210f6bf6efb32ab84b8f34018eaacb08d.tar.xz
linux-0b9612c210f6bf6efb32ab84b8f34018eaacb08d.zip
powerpc: Make powerpc_firmware_features __read_mostly
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>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/firmware.c b/arch/powerpc/kernel/firmware.c
index 1679a70bbcad..6b1f4271eb53 100644
--- a/arch/powerpc/kernel/firmware.c
+++ b/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);