- unsigned long old_bytes = vm->next_mb_id - vm->first_mb_id + 1;
- unsigned long new_bytes = vm->next_mb_id - vm->first_mb_id + 2;
- int old_pages = PFN_UP(old_bytes);
- int new_pages = PFN_UP(new_bytes);
+ int old_pages = PFN_UP(vm->next_mb_id - vm->first_mb_id);
+ int new_pages = PFN_UP(vm->next_mb_id - vm->first_mb_id + 1);