]> git.openfabrics.org - ~shefty/rdma-dev.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)
commitf4c0346c6f350d51aac7ed87e266a4257bdbe506
treed2c9649a20d307f62d90fbcbd99ecae2ee1cfe28
parentc2dc988ec566429841dd83644479aca78a6251e7
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