set_current_tf only applies to user trapframes
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 9 Apr 2010 22:18:01 +0000 (15:18 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:41 +0000 (17:35 -0700)
commitcfe3f559afa60b7ff92623538ceae8c5e10b2b29
tree9c2273d470b2cde5aff32f4000b919e48d858fac
parenta102d9eac340778d293b4c9583958957ee2452a7
set_current_tf only applies to user trapframes

This bug could have manifested itself with craziness when trying to
return from a syscall if an interrupt arrived while servicing the
syscall.
Documentation/process-internals.txt
kern/arch/i686/trap.c
kern/arch/sparc/trap.c
kern/include/process.h