selftests/powerpc: Don't save CR by default in asm helpers
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jun 2022 14:02:30 +0000 (00:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:15 +0000 (12:05 +1000)
commit8f2e02394dc907f5e0140bfab80a9aa11e3449ed
tree6bb0545de024586196fa046e612ebda4014a55c7
parent3c20a1d07c377d7260ca853e216cc85bbd7857fa
selftests/powerpc: Don't save CR by default in asm helpers

Thare are some asm helpers for creating/popping stack frames in
basic_asm.h. They always save/restore CR, but none of the selftests
tests touch non-volatile CR fields, so it's unnecessary to save them by
default.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-4-mpe@ellerman.id.au
tools/testing/selftests/powerpc/include/basic_asm.h