- Move the 'done1' label down below the unlock of the proc lock and move   the locking of the proc lock after the goto to done1 to avoid locking   the lock in an error case just so we can turn around and unlock it. - Move the exec_setregs() stuff out from under the proc lock and after   the p_args stuff.  This allows exec_setregs() to be able to sleep or   write things out to userland, etc. which ia64 does.
- Move the 'done1' label down below the unlock of the proc lock and move
  the locking of the proc lock after the goto to done1 to avoid locking
  the lock in an error case just so we can turn around and unlock it.
- Move the exec_setregs() stuff out from under the proc lock and after
  the p_args stuff.  This allows exec_setregs() to be able to sleep or
  write things out to userland, etc. which ia64 does.

Tested by:	peter

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