make SWAP_KEY_GET symmetrical with SWAP_KEY_PUT by having it call
authordlg <dlg@openbsd.org>
Wed, 6 May 2015 04:00:10 +0000 (04:00 +0000)
committerdlg <dlg@openbsd.org>
Wed, 6 May 2015 04:00:10 +0000 (04:00 +0000)
commit05db9060ac29c3fd255013d038001cbe4a16f886
tree8ff0e4cee1200ee06109b61336a5992ff52a62be
parent3c99142581a6a3b344bc85a3d07af12953b9c513
make SWAP_KEY_GET symmetrical with SWAP_KEY_PUT by having it call
a function in uvm_swap_encrypt.c instead of doing stuff inline.

lets me remove an extern from the header too.

ok kettenis@
sys/uvm/uvm_swap_encrypt.c
sys/uvm/uvm_swap_encrypt.h