Re: [PATCH] v2.5.1-pre9-00_kvec.diff

From: Steven Walter (srwalter@yahoo.com)
Date: Tue Dec 11 2001 - 22:35:15 EST


> + nr_pages = (ptr + len + PAGE_SIZE - 1) >> PAGE_SHIFT;
> + nr_pages -= ptr >> PAGE_SHIFT;

Isn't this the same as
        nr_pages = (len + PAGE_SIZE -1) >> PAGE_SHIFT;
? Or am I missing something?

-- 
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell
He's alive.  He's alive!  Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
			-- Montgomery C. Burns
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:22 EST