]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Defer OPAL exception handler registration
authorJeremy Kerr <jk@ozlabs.org>
Wed, 1 May 2013 22:31:50 +0000 (22:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 5 May 2013 23:25:36 +0000 (09:25 +1000)
commit09670eeacc44c676f51038ed860a6fa58fbda79c
tree57f0b3e61ba11cf571c5c97274125de441a2928b
parent52cf8e5be30d9c77dc57d7a26b4b1fa0e2db9700
powerpc/powernv: Defer OPAL exception handler registration

Currently, the OPAL exception vectors are registered before the feature
fixups are processed. This means that the now-firmware-owned vectors
will likely be overwritten by the kernel.

This change moves the exception registration code to an early initcall,
rather than at machine_init time.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal.c