diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-07-02 19:38:56 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-07-02 19:38:56 +0000 |
commit | 455d1983e8764c0949b892923117c63399cdedb5 (patch) | |
tree | 12f00626cd371f548174bd24633cbed074be5590 /sys/uvm/uvm_swap.c | |
parent | 08164aa7b48cddaba444394214fd10fa49bf5cd9 (diff) |
inital -> initial
Diffstat (limited to 'sys/uvm/uvm_swap.c')
-rw-r--r-- | sys/uvm/uvm_swap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c index 380090a2cbc..406ff61b4a8 100644 --- a/sys/uvm/uvm_swap.c +++ b/sys/uvm/uvm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_swap.c,v 1.53 2002/05/24 13:10:53 art Exp $ */ +/* $OpenBSD: uvm_swap.c,v 1.54 2002/07/02 19:38:55 nate Exp $ */ /* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */ /* @@ -1720,7 +1720,7 @@ uvm_swap_free(startslot, nslots) #ifdef UVM_SWAP_ENCRYPT { int i; - if (swap_encrypt_initalized) { + if (swap_encrypt_initialized) { /* Dereference keys */ for (i = 0; i < nslots; i++) if (uvm_swap_needdecrypt(sdp, startslot + i)) @@ -1854,7 +1854,7 @@ uvm_swap_io(pps, startslot, npages, flags) encrypt = 1; } - if (swap_encrypt_initalized || encrypt) { + if (swap_encrypt_initialized || encrypt) { /* * we need to know the swap device that we are swapping to/from * to see if the pages need to be marked for decryption or @@ -1985,7 +1985,7 @@ uvm_swap_io(pps, startslot, npages, flags) bp->b_dirtyend = npages << PAGE_SHIFT; #ifdef UVM_SWAP_ENCRYPT /* mark the pages in the drum for decryption */ - if (swap_encrypt_initalized) + if (swap_encrypt_initialized) uvm_swap_markdecrypt(sdp, startslot, npages, encrypt); #endif s = splbio(); @@ -2023,7 +2023,7 @@ uvm_swap_io(pps, startslot, npages, flags) /* * decrypt swap */ - if (swap_encrypt_initalized && + if (swap_encrypt_initialized && (bp->b_flags & B_READ) && !(bp->b_flags & B_ERROR)) { int i; caddr_t data = bp->b_data; |