]> git.baikalelectronics.ru Git - kernel.git/commit
Get rid of open-coding in ia64_brk()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Dec 2009 00:59:24 +0000 (19:59 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 11 Dec 2009 11:44:58 +0000 (06:44 -0500)
commit73ad53b2b15913a3f7420db124da548481f63ad3
tree526b8fb0a6db6ef002d94d8b7bca26b5451d39ec
parente17004abcfe535d3fe752c162d8bbf2c78e0a31f
Get rid of open-coding in ia64_brk()

The comment in there used to be true, but these days do_brk() does
the arch-specific check that covers what we open-coded here.  So we
can use sys_brk() just fine, only need to do force_successful_syscall_return()
after it.

See commit fa6a502e0606b0d7754d9675cc938b68828c8ffd - that's when the
checks in do_brk() had been originally added.

Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/sys_ia64.c