Lines 315-320
Link Here
|
315 |
old_len = PAGE_ALIGN(old_len); |
315 |
old_len = PAGE_ALIGN(old_len); |
316 |
new_len = PAGE_ALIGN(new_len); |
316 |
new_len = PAGE_ALIGN(new_len); |
317 |
|
317 |
|
|
|
318 |
/* Don't allow the degenerate cases */ |
319 |
if (!(old_len | new_len)) |
320 |
goto out; |
321 |
|
318 |
/* new_addr is only valid if MREMAP_FIXED is specified */ |
322 |
/* new_addr is only valid if MREMAP_FIXED is specified */ |
319 |
if (flags & MREMAP_FIXED) { |
323 |
if (flags & MREMAP_FIXED) { |
320 |
if (new_addr & ~PAGE_MASK) |
324 |
if (new_addr & ~PAGE_MASK) |