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)
commitbb52d6694002b9d632bb355f64daa045c6293a4e
tree526b8fb0a6db6ef002d94d8b7bca26b5451d39ec
parent05d72faa6d13c9d857478a5d35c85db9adada685
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 3a459756810912d2c2bf188cef566af255936b4d - 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