[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080731215158.GA23801@elte.hu>
Date: Thu, 31 Jul 2008 23:51:58 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Zachary Amsden <zach@...are.com>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Eduardo Habkost <ehabkost@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] paravirt_ops: Use unsigned long instead of u32 for
alloc_p*() pfn args
* Zachary Amsden <zach@...are.com> wrote:
> On Wed, 2008-07-30 at 14:51 -0700, Jeremy Fitzhardinge wrote:
> > Eduardo Habkost wrote:
> > > This patch changes the pfn args from 'u32' to 'unsigned long'
> > > on alloc_p*() functions on paravirt_ops, and the corresponding
> > > implementations for Xen and VMI. The prototypes for CONFIG_PARAVIRT=n
> > > are already using unsigned long, so paravirt.h now matches the prototypes
> > > on asm-x86/pgalloc.h.
> > >
> > > It shouldn't result in any changes on generated code on 32-bit, with
> > > or without CONFIG_PARAVIRT. On both cases, 'codiff -f' didn't show any
> > > change after applying this patch.
> > >
> > > On 64-bit, there are (expected) binary changes only when CONFIG_PARAVIRT
> > > is enabled, as the patch is really supposed to change the size of the
> > > pfn args.
> > >
> > > Signed-off-by: Eduardo Habkost <ehabkost@...hat.com>
> > >
> > Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>
> >
> > Cc:ing Zach, since it touches vmi.
>
> Thanks, looks good to me. I always thought u32 is ugly type name anyway.
>
> Acked-by: Zachary Amsden <zach@...are.com>
thanks, queued it up into tip/x86/paravirt.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists