]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 2974/1: fix ARM710 swi bug workaround
authorNicolas Pitre <nico@cam.org>
Wed, 12 Oct 2005 18:51:24 +0000 (19:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 12 Oct 2005 18:51:24 +0000 (19:51 +0100)
commitaba16b8291b3dccca427e5b73279b6e7027e6e63
treef75a44630c4cd0b63c025eee1ccc615a6ec7157e
parent958e5d6c47f7f81dd53a9ff7996a9b5e76450728
[ARM] 2974/1: fix ARM710 swi bug workaround

Patch from Nicolas Pitre

Either no one is using an ARM710 with recent kernels, or all ARM710s
still in use are not afflicted by this swi bug.  Nevertheless, the code
to work around the ARM710 swi bug is itself currently buggy since it
uses r8 as a pointer to S_PC while in fact it holds the spsr content
these days. Fix that, and simplify the code as well.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-common.S