diff options
author | Jan Kara <jack@suse.cz> | 2017-11-03 12:21:21 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-11-03 14:25:51 +0100 |
commit | 592e254502041f953e84d091eae2c68cba04c10b (patch) | |
tree | 536241d5f7df82fbf45bb37a464fb0e93939df2b /arch/parisc/include/uapi/asm | |
parent | Linux 4.14-rc4 (diff) | |
download | linux-592e254502041f953e84d091eae2c68cba04c10b.tar.xz linux-592e254502041f953e84d091eae2c68cba04c10b.zip |
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/parisc/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions