lkml.org 
[lkml]   [2008]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] x86: add executable mapping support to ioremap
> 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 ...

huang is completely right.

-Andi


\
 
 \ /
  Last update: 2008-01-31 17:33    [W:0.036 / U:1.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site