]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c3184be89cd61fad93c27948f7f47aad4f317e6
tree6bb0545de024586196fa046e612ebda4014a55c7
parent88d92a747d57de27e7c606d2e8742013baeb2f91
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