aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/mm/init.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <[email protected]>2019-08-06 01:49:17 -0300
committerMichael Ellerman <[email protected]>2019-08-09 22:52:08 +1000
commit284e21fab2cfcf90dacce565e0b12f29e5df00c1 (patch)
treef3ff0d324d2c19857a4e842a1c7369e0421e1fc2 /arch/s390/mm/init.c
parente740815a97e2b6d6446792f4328378e66de166d1 (diff)
x86, s390/mm: Move sme_active() and sme_me_mask to x86-specific header
Now that generic code doesn't reference them, move sme_active() and sme_me_mask to x86's <asm/mem_encrypt.h>. Also remove the export for sme_active() since it's only used in files that won't be built as modules. sme_me_mask on the other hand is used in arch/x86/kvm/svm.c (via __sme_set() and __psp_pa()) which can be built as a module so its export needs to stay. Signed-off-by: Thiago Jung Bauermann <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/s390/mm/init.c')
0 files changed, 0 insertions, 0 deletions