Messages in this thread |  | | Date | Mon, 23 Oct 2000 16:41:03 +0200 | From | Ralf Baechle <> | Subject | Re: MAP_NR for 2.4 |
| |
On Fri, Oct 20, 2000 at 12:38:57PM +0530, aprasad@in.ibm.com wrote:
> for using MAP_NR with 2.4, i think you can use > macro like > > #define MAP_NR(addr) (((unsigned long)(addr)-PAGE_OFFSET) >>PAGE_SHIFT)
This only works for contiguous memory.
Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |