Skip to content

Commit

Permalink
powerpc: Make powerpc_firmware_features __read_mostly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Feb 9, 2010
1 parent a13672f commit 0b9612c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 0b9612c

Please sign in to comment.