powerpc/security: change link stack flush state to the flush type enum
authorNicholas Piggin <npiggin@gmail.com>
Tue, 9 Jun 2020 07:06:05 +0000 (17:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:31 +0000 (13:12 +1000)
commitc06ac2771070f465076e87bba262c64fb0b3aca3
treef340a6ff63cd3a6c685f58ce81c04e5869ce0ce8
parent1026798c644bfd3115fc4e32fd5e767cfc30ccf1
powerpc/security: change link stack flush state to the flush type enum

Prepare to allow for hardware link stack flushing by using the
none/sw/hw type, same as the count cache state.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200609070610.846703-3-npiggin@gmail.com
arch/powerpc/kernel/security.c