aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-09-23 11:23:29 -0700
committerRalf Baechle <ralf@linux-mips.org>2010-10-04 18:34:00 +0100
commit4c7106c48a061e26f646391cfe8ba7cbd28516b6 (patch)
tree0190e8446a20ed9eacec4966ab290705013ce56b /arch
parent2ccc5b150fb771bcbbb27a19a00e176e10b7f11e (diff)
downloadmrst-s0i3-test-4c7106c48a061e26f646391cfe8ba7cbd28516b6.tar.gz
mrst-s0i3-test-4c7106c48a061e26f646391cfe8ba7cbd28516b6.tar.xz
mrst-s0i3-test-4c7106c48a061e26f646391cfe8ba7cbd28516b6.zip
MIPS: Don't place cu2 notifiers in __cpuinitdata
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/cop2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cop2.h b/arch/mips/include/asm/cop2.h
index 2cb2f0c2c4f..3532e2c5f09 100644
--- 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 \
}; \