projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ccc5b1
)
MIPS: Don't place cu2 notifiers in __cpuinitdata
author
David Daney
<ddaney@caviumnetworks.com>
Thu, 23 Sep 2010 18:23:29 +0000
(11:23 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 4 Oct 2010 17:34:00 +0000
(18:34 +0100)
The notifiers may be called at any time, so the notifier_block cannot
be in init memory.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1592/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cop2.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/cop2.h
b/arch/mips/include/asm/cop2.h
index
2cb2f0c
..
3532e2c
100644
(file)
--- a/
arch/mips/include/asm/cop2.h
+++ b/
arch/mips/include/asm/cop2.h
@@
-24,7
+24,7
@@
extern int cu2_notifier_call_chain(unsigned long val, void *v);
#define cu2_notifier(fn, pri) \
({ \
- static struct notifier_block fn##_nb
__cpuinitdata = {
\
+ static struct notifier_block fn##_nb
= {
\
.notifier_call = fn, \
.priority = pri \
}; \