summaryrefslogtreecommitdiff
path: root/arch/um/sys-x86_64
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-10-24 18:15:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:43:36 -0800
commit76c125d2658e301689c0b812977eebbef17d8c0c (patch)
tree44ff3b55b68d21e2bc0bfa4501c92c784fe556aa /arch/um/sys-x86_64
parent4f0d844bad2b3c705767e3df85978aae2ca5beb7 (diff)
um: Fix kmalloc argument order in um/vdso/vma.c
commit 0d65ede0a605d6252acc5c8a9c536c4cd0211f3c upstream. kmalloc size is 1st arg, not second. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/um/sys-x86_64')
-rw-r--r--arch/um/sys-x86_64/vdso/vma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-x86_64/vdso/vma.c b/arch/um/sys-x86_64/vdso/vma.c
index 9495c8d0ce37..91f4ec9a0a56 100644
--- a/arch/um/sys-x86_64/vdso/vma.c
+++ b/arch/um/sys-x86_64/vdso/vma.c
@@ -28,7 +28,7 @@ static int __init init_vdso(void)
um_vdso_addr = task_size - PAGE_SIZE;
- vdsop = kmalloc(GFP_KERNEL, sizeof(struct page *));
+ vdsop = kmalloc(sizeof(struct page *), GFP_KERNEL);
if (!vdsop)
goto oom;