[PATCH v5 17/26] powerpc/book3s64/keys: Print information during boot.
Michael Ellerman
mpe at ellerman.id.au
Mon Jul 6 17:52:19 AEST 2020
"Aneesh Kumar K.V" <aneesh.kumar at linux.ibm.com> writes:
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>
> ---
> arch/powerpc/mm/book3s64/pkeys.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/mm/book3s64/pkeys.c b/arch/powerpc/mm/book3s64/pkeys.c
> index 810118123e70..0d72c0246052 100644
> --- a/arch/powerpc/mm/book3s64/pkeys.c
> +++ b/arch/powerpc/mm/book3s64/pkeys.c
> @@ -195,6 +195,7 @@ void __init pkey_early_init_devtree(void)
> */
> initial_allocation_mask |= reserved_allocation_mask;
>
> + pr_info("Enabling Memory keys with max key count %d", max_pkey);
^
missing newline
> return;
> }
The syscall is called pkey_mprotect() and the manpage is "pkeys", so I
think it would make sense to use "pkey" in the message.
cheers
More information about the Linuxppc-dev
mailing list