Re: Use of __pa() with CONFIG_NONLINEAR
From: Dave Hansen <hidden>
Date: 2004-07-28 20:24:16
Also in:
lkml
From: Dave Hansen <hidden>
Date: 2004-07-28 20:24:16
Also in:
lkml
On Wed, 2004-07-28 at 13:15, Martin J. Bligh wrote:
However ... what happens to functions calling __pa that are called from boot time and run time code?
I've actually only run into one of those so far that I know of, and that was on ppc64 (i386 had none that I found). In that one case, I used an if(unlikely()) to optimize for the run-time one. There might be more, but I think they're rare enough to just code it with an if() in each case. -- Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>