diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-03 19:59:24 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-11 06:44:58 -0500 |
commit | bb52d6694002b9d632bb355f64daa045c6293a4e (patch) | |
tree | 526b8fb0a6db6ef002d94d8b7bca26b5451d39ec /mm/swapfile.c | |
parent | 05d72faa6d13c9d857478a5d35c85db9adada685 (diff) |
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>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions