summary refs log tree commit diff
path: root/arch/um/Kconfig.rest
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-11-03 12:21:21 +0100
committerDan Williams <dan.j.williams@intel.com>2017-11-03 06:25:51 -0700
commit592e254502041f953e84d091eae2c68cba04c10b (patch)
tree536241d5f7df82fbf45bb37a464fb0e93939df2b /arch/um/Kconfig.rest
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff)
downloadlinux-592e254502041f953e84d091eae2c68cba04c10b.tar.gz
mm: Handle 0 flags in _calc_vm_trans() macro
_calc_vm_trans() does not handle the situation when some of the passed
flags are 0 (which can happen if these VM flags do not make sense for
the architecture). Improve the _calc_vm_trans() macro to return 0 in
such situation. Since all passed flags are constant, this does not add
any runtime overhead.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/um/Kconfig.rest')
0 files changed, 0 insertions, 0 deletions