]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] SMTC: Don't set and restore irqregs ptr from self_ipi.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 24 May 2007 13:56:58 +0000 (14:56 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 11 Jun 2007 17:20:53 +0000 (18:20 +0100)
commitda9bc7263dc7e32d52dd922fe3f46eb7107c0143
treeedf2cb84da2d95f9444a7affd1432f802dee44a4
parentfbf6ede2ce05592661cec04e04b88f6bab00eb09
[MIPS] SMTC: Don't set and restore irqregs ptr from self_ipi.

This did corrupt register s0 which the caller of self_ipi expects to
be unchanged.  This is a kernel bug which will only be triggered with
the compilers which compile __smtc_ipi_replay to use s0 across the
invocation of self_ipi. Gcc 4.1.2 does this, for example.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc-asm.S