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

> addr = ioremap(phys_addr, len);
> set_memory_x(addr);
> if (phys_addr < (end_pfn_mapped >> PAGE_SHIFT))
> set_memory_x(__va(phys_addr));

If you just need the ioremap executable there is no reason to split
up the direct mapping for this too. The x86 architecture does not require
x bits to be coherent between mappings; only the caching attributes.

-Andi



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