Re: [PATCH 5/5] x86: EFI memory mapping changes according tochanges to ioremap and c_p_a

From: Arjan van de Ven
Date: Thu Jan 31 2008 - 09:38:17 EST


On Thu, 31 Jan 2008 15:36:08 +0800
"Huang, Ying" <ying.huang@xxxxxxxxx> wrote:

> The patch fixes EFI runtime memory mapping code according to the
> changes to ioremap() and change_page_attr().

this is way overkill. really.

Just call set_memory_x() after your ioremap call, and call set_memory_nx() before the iounmap.
THere is no need to hack up ioremap for any of this stuff. At all.

--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/