mips: traps, add __init to parity_protection_init
authorJiri Slaby <jslaby@suse.cz>
Thu, 23 Jul 2020 09:42:35 +0000 (11:42 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 24 Jul 2020 10:07:36 +0000 (12:07 +0200)
commita2eec1099bc34557cab59edb6821404272b9b3d8
tree721110a8b52b6d9ec373bd312781a0149fc471dd
parente27e1cc9d360a347dbd5a398e9df21cfb4e60e3c
mips: traps, add __init to parity_protection_init

It references __initdata and is called only from an __init function:
trap_init. This avoids section mismatches (which I am seeing with gcc
10).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/traps.c