Skip to content
Commit 7f43add4 authored by Wang Xiaoqiang's avatar Wang Xiaoqiang Committed by Linus Torvalds
Browse files

mm/mlock.c: change can_do_mlock return value type to boolean



Since can_do_mlock only return 1 or 0, so make it boolean.

No functional change.

[akpm@linux-foundation.org: update declaration in mm.h]
Signed-off-by: default avatarWang Xiaoqiang <wangxq10@lzu.edu.cn>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 61e16557
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment