RE: MAP_NR for 2.4

From: aprasad@in.ibm.com
Date: Fri Oct 20 2000 - 03:08:57 EDT

  • Next message: Clayton Weaver: "Re: problems with Tulip driver in 2.2 and 2.4 (true 21143 in 2.2.x, too)"

    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)

    regards
    anil

    -
    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/



    This archive was generated by hypermail 2b29 : Fri Oct 20 2000 - 14:27:24 EDT