summaryrefslogtreecommitdiffstats
path: root/arch
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
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff)
downloadlinux-592e254502041f953e84d091eae2c68cba04c10b.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions