powerpc: Move default security feature flags
authorMauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Sat, 2 Jun 2018 11:09:05 +0000 (21:09 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Jun 2018 14:44:37 +0000 (16:44 +0200)
commit4ec7e5e89fd4cdc0e2695a2e0d7541916193f6e2
treea14f55bc2cec946197ffac74026a7a69fcc10491
parent9e337dcf2edc095971751bf55293f8a92d5e55e3
powerpc: Move default security feature flags

commit e7347a86830f38dc3e40c8f7e28c04412b12a2e7 upstream.

This moves the definition of the default security feature flags
(i.e., enabled by default) closer to the security feature flags.

This can be used to restore current flags to the default flags.

Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/security_features.h
arch/powerpc/kernel/security.c