* 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);
-