MIPS: Don't place cu2 notifiers in __cpuinitdata
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 23 Sep 2010 18:23:29 +0000 (11:23 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Oct 2010 17:34:00 +0000 (18:34 +0100)
commit4c7106c48a061e26f646391cfe8ba7cbd28516b6
tree0190e8446a20ed9eacec4966ab290705013ce56b
parent2ccc5b150fb771bcbbb27a19a00e176e10b7f11e
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>
arch/mips/include/asm/cop2.h