diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-30 21:25:09 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2011-05-30 21:25:09 +0000 |
commit | 56629357879bf6cde041bdc3460e1c0e0ca3da86 (patch) | |
tree | 986d0de6236f505b0433c620f4f80abce95e9b54 /sys/uvm | |
parent | faeb25f7ba513deb801f044179fd65d1b98fb62c (diff) |
for (some; stuff; here)
;
instead of
for (some; stuff; here);
reads easier.
ok ariane@
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_pmemrange.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c index d005e63e189..332326c25f1 100644 --- a/sys/uvm/uvm_pmemrange.c +++ b/sys/uvm/uvm_pmemrange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmemrange.c,v 1.23 2011/05/30 21:23:36 oga Exp $ */ +/* $OpenBSD: uvm_pmemrange.c,v 1.24 2011/05/30 21:25:08 oga Exp $ */ /* * Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl> @@ -162,7 +162,8 @@ pow2divide(psize_t num, psize_t denom) { int rshift; - for (rshift = 0; num > denom; rshift++, denom <<= 1); + for (rshift = 0; num > denom; rshift++, denom <<= 1) + ; return (paddr_t)1 << rshift; } |