OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
1679a70
..
6b1f427
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);