summaryrefslogtreecommitdiff
path: root/arch/alpha/include/uapi
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2026-10-18 10:22:02 -0400
committerMagnus Lindholm <linmag7@gmail.com>2026-10-18 20:09:29 +0200
commit501bcb5953cc4d56537a321c00f9193e9fd68718 (patch)
tree3d372069a29e776a0ce899fd392fc2347e2f7b7c /arch/alpha/include/uapi
parentbceba446fa2bc66a905ec0bbf6fd80e98701c1d1 (diff)
alpha: stop storing the user stack pointer in pt_regs
Nothing reads pt_regs->usp now that user_stack_pointer() uses the PCB. Drop the stores, which saves a PAL_rdusp call on every syscall, and give the field back its old name. Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Magnus Lindholm <linmag7@gmail.com> Tested-by: Magnus Lindholm <linmag7@gmail.com> Acked-by: Ian Rogers <irogers@google.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Link: https://lore.kernel.org/r/20261018-alpha-perf-regs-v3-v3-2-52be85332c57@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'arch/alpha/include/uapi')
-rw-r--r--arch/alpha/include/uapi/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/include/uapi/asm/ptrace.h b/arch/alpha/include/uapi/asm/ptrace.h
index 9d86b2a1526e..72ed913a910f 100644
--- a/arch/alpha/include/uapi/asm/ptrace.h
+++ b/arch/alpha/include/uapi/asm/ptrace.h
@@ -43,7 +43,7 @@ struct pt_regs {
unsigned long trap_a1;
unsigned long trap_a2;
/* This makes the stack 16-byte aligned as GCC expects */
- unsigned long usp;
+ unsigned long __pad0;
/* These are saved by PAL-code: */
unsigned long ps;
unsigned long pc;