summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mm/pkey-powerpc.h
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2024-08-22 18:11:08 +0300
committerWill Deacon <will@kernel.org>2024-09-04 14:54:06 +0300
commit41bbcf7b4b046b4e7190c1866625aed0fe6f69f6 (patch)
tree458ef5fa2f3b9242478609818b107ee7f268b376 /tools/testing/selftests/mm/pkey-powerpc.h
parent6354a0184c542f2b8fade9cb0eb843acd3310191 (diff)
downloadlinux-41bbcf7b4b046b4e7190c1866625aed0fe6f69f6.tar.xz
selftests: mm: move fpregs printing
arm64's fpregs are not at a constant offset from sigcontext. Since this is not an important part of the test, don't print the fpregs pointer on arm64. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/r/20240822151113.1479789-26-joey.gouly@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/mm/pkey-powerpc.h')
-rw-r--r--tools/testing/selftests/mm/pkey-powerpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/mm/pkey-powerpc.h b/tools/testing/selftests/mm/pkey-powerpc.h
index ae5df26104e5..6275d0f474b3 100644
--- a/tools/testing/selftests/mm/pkey-powerpc.h
+++ b/tools/testing/selftests/mm/pkey-powerpc.h
@@ -9,6 +9,7 @@
#endif
#define REG_IP_IDX PT_NIP
#define REG_TRAPNO PT_TRAP
+#define MCONTEXT_FPREGS
#define gregs gp_regs
#define fpregs fp_regs
#define si_pkey_offset 0x20