summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-12-30 15:10:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-12-30 15:10:55 +0000
commit81c55a1c7576a4b53e312d70e0fd4880762f18da (patch)
tree9aa19a9a953d6ba2e0d69c341f47a9a83d08dff0 /sys/dev
parentfbdc0a4d566f770a8922e3787790a8e86b7ffb4c (diff)
Since we save the interrupt mask in the trapframe when we get a trap, we
might restore the wrong mask when we switch CPUs. Since we should be running with the proper mask when we enter $syscall_return, simply save the proper mask into the trapframe such that we restore the right interrupt mask later on. tested by jsing@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions