lkml.org 
[lkml]   [2006]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2.6.19 2/4] ehca: hcp_phyp.c: correct page mapping in 64k page mode
    From
    Date
     > -	*mapaddr = (u64)(ioremap(physaddr, EHCA_PAGESIZE));
    > + *mapaddr = (u64)ioremap((physaddr & PAGE_MASK), PAGE_SIZE) +
    > + (physaddr & (~PAGE_MASK));

    I'm confused -- shouldn't ioremap() do the right thing even if
    physaddr isn't page-aligned? Why is this needed?

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

    \
     
     \ /
      Last update: 2006-11-07 20:29    [W:0.021 / U:0.468 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site