From: Paolo 'Blaisorblade' Giarrusso Date: Wed, 1 Feb 2006 11:06:26 +0000 (-0800) Subject: [PATCH] uml: fix "apples/bananas" typo X-Git-Tag: v2.6.16-rc2~48 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3dfd95b378953f6cf0bd58fc990c05ef5a0ea1a6;p=linux-2.6-omap-h63xx.git [PATCH] uml: fix "apples/bananas" typo Fix stupid typo. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c index f3b583a878a..544665e0451 100644 --- a/arch/um/kernel/physmem.c +++ b/arch/um/kernel/physmem.c @@ -265,7 +265,7 @@ int init_maps(unsigned long physmem, unsigned long iomem, unsigned long highmem) highmem_len = highmem_pages * sizeof(struct page); total_pages = phys_pages + iomem_pages + highmem_pages; - total_len = phys_len + iomem_pages + highmem_len; + total_len = phys_len + iomem_len + highmem_len; if(kmalloc_ok){ map = kmalloc(total_len, GFP_KERNEL);