[PATCH] powerpc: Don't use toc in decrementer_iSeries_masked
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 7 Feb 2006 02:26:14 +0000 (13:26 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 10:51:53 +0000 (21:51 +1100)
commitf9b4045d6bbb109d066d127549b2beb38fd9bfc4
treed7e45a43f9cf8270c2f37f5d62a92004fa5afa2c
parent09f5dc44aeff9f792a807a7dca64c1791d98d8c8
[PATCH] powerpc: Don't use toc in decrementer_iSeries_masked

Since 404849bbd2bfd62e05b36f4753f6e1af6050a824 we've been using
LOAD_REG_ADDRBASE, which uses the toc pointer, in decrementer_iSeries_masked.

This can explode if we take the decrementer interrupt while we're in a module,
because the toc pointer in r2 will be the module's toc pointer.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S