]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: LWS fixes for syscall.S
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Sun, 11 Apr 2010 17:26:34 +0000 (17:26 +0000)
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>
Sun, 30 May 2010 09:46:37 +0000 (05:46 -0400)
commit3c71bd88be45b9c9bf63e8a81029792b4ecf9b24
treed2c9649a20d307f62d90fbcbd99ecae2ee1cfe28
parent5f5214a37e814ad08b2e8618877a09a00c0a1f6d
parisc: LWS fixes for syscall.S

1) Gate immediately and save a branch.
2) Fix off by one error in checking entry number.
3) Use sr7 instead of sr3 in error return path as sr3 might not
   contain correct value.
4) Enable locking on UP systems to prevent incorrect operation of
   the cas_action critical region on page faults.

Tested on several systems, including UP c3750 with 2.6.33.2 kernel.

Signed-off-by: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/syscall.S