Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH 4/5] x86: add executable mapping support to ioremap | Date | Thu, 31 Jan 2008 14:27:38 +0100 |
| |
> 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
| |