Fix a problem when creating a new kernel thread.  In some cases, aio_read or aio_write can return the pid of the new thread.  This is due to the way that return values from system calls being passed by side-effect in the proc structure now.  This commit fixes the problem with aio_read and aio_write.
Fix a problem when creating a new kernel thread.  In some cases, aio_read
or aio_write can return the pid of the new thread.  This is due to the
way that return values from system calls being passed by side-effect in
the proc structure now.  This commit fixes the problem with aio_read and
aio_write.

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