Re: 2.6.10-rc1-mm3

From: Ingo Molnar
Date: Fri Nov 05 2004 - 05:18:04 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> - Added Andi's 4-level-pagetable patches. It's tested on x86, x86_64, ia64
> and ppc64. These are fairly intrusive patches and I'll probably push them
> upstream soon.

make it compile on x86 with !REGPARM (default):

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

--- linux/arch/i386/mm/pgtable.c.orig
+++ linux/arch/i386/mm/pgtable.c
@@ -221,7 +221,7 @@ void pgd_dtor(void *pgd, kmem_cache_t *c
spin_unlock_irqrestore(&pgd_lock, flags);
}

-pgd_t *__pgd_alloc(struct mm_struct *mm, pml4_t *pml4, unsigned long address)
+pgd_t fastcall *__pgd_alloc(struct mm_struct *mm, pml4_t *pml4, unsigned long address)
{
int i;
pgd_t *pgd = kmem_cache_alloc(pgd_cache, GFP_KERNEL);
-
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/