Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH] [2/8] CPA: Remove inline from static_protections | Date | Mon, 11 Feb 2008 10:50:17 +0100 (CET) |
| |
The function is huge and called three times, so don't inline it.
Signed-off-by: Andi Kleen <ak@suse.de>
--- arch/x86/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/x86/mm/pageattr.c =================================================================== --- linux.orig/arch/x86/mm/pageattr.c +++ linux/arch/x86/mm/pageattr.c @@ -139,7 +139,7 @@ static unsigned long virt_to_direct(void * right (again, ioremap() on BIOS memory is not uncommon) so this function * checks and fixes these known static required protection bits. */ -static inline pgprot_t static_protections(pgprot_t prot, unsigned long address) +static pgprot_t static_protections(pgprot_t prot, unsigned long address) { pgprot_t forbidden = __pgprot(0);
| |