summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-10-24 18:15:32 -0400
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:42 +0100
commit0d65ede0a605d6252acc5c8a9c536c4cd0211f3c (patch)
tree7cdecc68c02ec79db81ec4bdd487ce066a39c724 /arch
parent3369465ed1a6a9aa9b885a6d7d8e074ecbd782da (diff)
downloadlinux-0d65ede0a605d6252acc5c8a9c536c4cd0211f3c.tar.bz2
um: Fix kmalloc argument order in um/vdso/vma.c
kmalloc size is 1st arg, not second. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Richard Weinberger <richard@nod.at> Cc: <stable@kernel.org> # 3.0.x [richard@nod.at: on 3.0 the to be patched file is arch/um/sys-x86_64/vdso/vma.c]
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/um/vdso/vma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/vdso/vma.c b/arch/x86/um/vdso/vma.c
index 9495c8d0ce37..91f4ec9a0a56 100644
--- a/arch/x86/um/vdso/vma.c
+++ b/arch/x86/um/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;