diff options
author | Anton Blanchard <anton@samba.org> | 2010-02-07 13:07:36 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-09 13:56:07 +1100 |
commit | 0b9612c210f6bf6efb32ab84b8f34018eaacb08d (patch) | |
tree | d7023e6c4ef872292e2187df37acd9cb7113465a /arch/powerpc/kernel/firmware.c | |
parent | a13672fb30b46eaf9fa50357e1e863de00631401 (diff) |
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/firmware.c')
-rw-r--r-- | arch/powerpc/kernel/firmware.c | 2 |
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); |