]> asedeno.scripts.mit.edu Git - linux.git/commit
x86, vdso: Fix size of get_unmapped_area()
authorStefani Seibold <stefani@seibold.net>
Sun, 23 Mar 2014 16:38:14 +0000 (17:38 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 24 Mar 2014 16:31:23 +0000 (09:31 -0700)
commit645a387ecbdb4aa78c8451a66416340616134537
tree48a948fbd4cf3cb3d18875ea7054b93564ae0724
parent3c1b63b9e4862fb16352a0646439c2dd6d9e0e5c
x86, vdso: Fix size of get_unmapped_area()

The size of the reserved memory for a 32 bit vdso must be the size of the
32 bit vDSO in pages + HPET page + VVAR page.

One page is not enough for this. Grrrr.... silly copy and paste bug,
was right in previous patch.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/1395592694-20571-1-git-send-email-stefani@seibold.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/vdso32-setup.c