diff options
| author | 2010-12-30 15:10:54 +0000 | |
|---|---|---|
| committer | 2010-12-30 15:10:54 +0000 | |
| commit | a5835e2e238b6bb68b144f460cb611e197973a09 (patch) | |
| tree | 455b7e9fbe659de0401c31534647ff7b1d71d19c /usr.bin/tmux/cmd-paste-buffer.c | |
| parent | Prior to loading the FPU context onto the current CPU, check to see if the (diff) | |
| download | wireguard-openbsd-a5835e2e238b6bb68b144f460cb611e197973a09.tar.xz wireguard-openbsd-a5835e2e238b6bb68b144f460cb611e197973a09.zip | |
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 'usr.bin/tmux/cmd-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions
