summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 02482ae..5ed006c 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -576,7 +576,7 @@ void pmap_bootstrap()
*/
kernel_virtual_start = phys_last_addr;
kernel_virtual_end = phys_last_addr + morevm
- + (phys_last_addr - phys_first_addr) / 15;
+ + (phys_last_addr - phys_first_addr);
if (kernel_virtual_end < phys_last_addr
|| kernel_virtual_end > VM_MAX_KERNEL_ADDRESS)