[PATCH V1 08/10] arch/kmap: Don't hard code kmap_prot values

Al Viro viro at zeniv.linux.org.uk
Fri May 1 02:16:34 UTC 2020

On Thu, Apr 30, 2020 at 01:38:43PM -0700, ira.weiny at intel.com wrote:
> From: Ira Weiny <ira.weiny at intel.com>
> To support kmap_atomic_prot() on all architectures each arch must
> support protections passed in to them.
> Change csky, mips, nds32 and xtensa to use their global kmap_prot value
> rather than a hard coded value which was equal.

Minor nitpick: it's probably worth pointing out that kmap_prot on those
is a constant...

More information about the dri-devel mailing list