]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/module: Fix stubs for BE
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 12 May 2014 07:45:02 +0000 (17:15 +0930)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 May 2014 00:56:01 +0000 (10:56 +1000)
commit48635ccfad40c5c4257490c8bd9ade47266b94ba
tree30418ac92b369e47e40b42464e8af2fd5b2ecaf5
parent5ec91d1125ab709326ccbcd97e8fe25a8c2a2a18
powerpc/module: Fix stubs for BE

A simple patch which was supposed to swap r12 and r11 also
inexplicably changed the offset by two bytes.  This instruction
(to load r2) isn't used in LE, so it wasn't noticed.

Fixes: 618b3a0d5a ("powerpc: modules: use r12 for stub jump address.)
Reported-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/module_64.c