Re: 2.6.10-rc1-mm3

Michael Baehr
2004-11-05T11:12:38Z

On 2004-11-05 04:17:23 -0600 Ingo Molnar <mingo@elte.hu> wrote:

>
> * Andrew Morton <akpm@osdl.org> 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@elte.hu>
>
> --- 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);
> -

I was about to whine to LKML about how I couldn't build rc1-mm3 until
I saw your patch. This fixes it. Thank you :)

Cheers,

- Mike