]> git.baikalelectronics.ru Git - kernel.git/commit
ia64 perfmon: fix get_unmapped_area() use there
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 15:55:49 +0000 (11:55 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:57 +0000 (21:04 -0400)
commit7148250256ce6d0895f49491911515de035e26d9
treeae380c41e03edefad14a7afe3b9cfd9f19acbe5b
parent6340d927a4db938865c2e08a0c4c67a62de65906
ia64 perfmon: fix get_unmapped_area() use there

get_unmapped_area() returns -E... on failure, not 0.  Moreover, the
wrapper around it is completely pointless.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/perfmon.c