commit | c529afd7cbc71ae1dc44a31efc7c1c9db3c3a143 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | Thu Jul 09 08:59:33 2020 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jul 20 22:57:58 2020 +1000 |
tree | 08c2be27ab217d293233ba4236de26199d500893 | |
parent | a4678d4b477c3d2901f101986ca01406f3b7eaea [diff] |
powerpc/book3s64/pkeys: Convert pkey_total to num_pkey num_pkey now represents max number of keys supported such that we return to userspace 0 - num_pkey - 1. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200709032946.881753-11-aneesh.kumar@linux.ibm.com