Re: [PATCH 4/5] x86: add executable mapping support to ioremap
From: Thomas Gleixner
Date: Thu Jan 31 2008 - 11:37:43 EST
On Thu, 31 Jan 2008, Andi Kleen wrote:
> > There is nothing to fix. It works on virtual addresses.
> >
> > The __pa() in change_page_attr_addr() is only used to check for the
> > high alias mapping of the kernel, but the call to change_page_attr
> > uses the virtual address.
>
> But __pa() doesn't work for ioremap ...
If it does not, then __pa() needs to be fixed, nothing else.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/