Move setregs() out from under the PROC_LOCK so that it can use functions list suword() which may trap.
Move setregs() out from under the PROC_LOCK so that it can use functions
list suword() which may trap.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase