xen/riscv: drop pregs from struct cpu_user_regs

As nothing is using pregs in upstream or downstream ports of RISC-V drop
it from struct cpu_user_regs. Once it will really be needed re-introduce
it.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2026-09-01 09:57:13 +02:00
1 parent 95509915ea
commit f3100b986e
2 files changed
-3

No files matched your search

-2
View File
@@ -50,8 +50,6 @@ struct cpu_user_regs
unsigned long sepc;
unsigned long sstatus;
unsigned long hstatus;
/* pointer to previous stack_cpu_regs */
unsigned long pregs;
};
/* TODO: need to implement */
-1
View File
@@ -50,7 +50,6 @@ void asm_offsets(void)
OFFSET(CPU_USER_REGS_SEPC, struct cpu_user_regs, sepc);
OFFSET(CPU_USER_REGS_SSTATUS, struct cpu_user_regs, sstatus);
OFFSET(CPU_USER_REGS_HSTATUS, struct cpu_user_regs, hstatus);
OFFSET(CPU_USER_REGS_PREGS, struct cpu_user_regs, pregs);
BLANK();
DEFINE(PCPU_INFO_SIZE, sizeof(struct pcpu_info));
BLANK();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.