projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13672f
)
powerpc: Make powerpc_firmware_features __read_mostly
author
Anton Blanchard
<anton@samba.org>
Sun, 7 Feb 2010 13:07:36 +0000
(13:07 +0000)
committer
Benjamin 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/firmware.c
b/arch/powerpc/kernel/firmware.c
index 1679a70bbcad7e6bfe2370c142c2bd9b33688db5..6b1f4271eb5366a4ce8855b2a1b55ebfd46a4631 100644
(file)
--- 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);