Hi, > +#ifdef CONFIG_PPC_64K_PAGES > + /* To support 64k pages we must round to 64k page boundary */ > + epas->kernel.addr = > + ioremap((paddr_kernel & 0xFFFFFFFFFFFF0000), PAGE_SIZE) + > + (paddr_kernel & 0xFFFF); > +#else > epas->kernel.addr = ioremap(paddr_kernel, PAGE_SIZE); > +#endif
Cant you just use PAGE_MASK, ~PAGE_MASK and remove the ifdefs completely? Anton - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html