summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r--sys/boot/ia64/common/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ia64/common/exec.c b/sys/boot/ia64/common/exec.c
index 6c7f027..dd9c9ba 100644
--- a/sys/boot/ia64/common/exec.c
+++ b/sys/boot/ia64/common/exec.c
@@ -76,7 +76,7 @@ sz2shft(vm_offset_t ofs, vm_size_t sz)
shft = 12; /* Start with 4K */
s = 1 << shft;
- while (s < sz) {
+ while (s <= sz) {
shft++;
s <<= 1;
}
OpenPOWER on IntegriCloud