[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH ARM v5 10/20] mini-os: add missing casts to MM printk
Thomas Leonard, le Thu 26 Jun 2014 12:28:27 +0100, a écrit : > The code previously assumed that a long was 64-bits. > > Signed-off-by: Thomas Leonard <talex5@xxxxxxxxx> Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> > --- > extras/mini-os/mm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/extras/mini-os/mm.c b/extras/mini-os/mm.c > index d2d5264..d31ef97 100644 > --- a/extras/mini-os/mm.c > +++ b/extras/mini-os/mm.c > @@ -409,8 +409,8 @@ void init_mm(void) > * now we can initialise the page allocator > */ > printk("MM: Initialise page allocator for %lx(%lx)-%lx(%lx)\n", > - (u_long)to_virt(PFN_PHYS(start_pfn)), PFN_PHYS(start_pfn), > - (u_long)to_virt(PFN_PHYS(max_pfn)), PFN_PHYS(max_pfn)); > + (u_long)to_virt(PFN_PHYS(start_pfn)), > (u_long)PFN_PHYS(start_pfn), > + (u_long)to_virt(PFN_PHYS(max_pfn)), (u_long)PFN_PHYS(max_pfn)); > init_page_allocator(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn)); > printk("MM: done\n"); > > -- > 2.0.0 > -- Samuel Moralité : le modem et le cablerouteur font comme les filles, ils papotent toute la journée. -+- RB in NPC : Et en plus, ils ne parlent que de bits -+- _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |