@@ -179,8 +178,7 @@ static void resolve_faulting_gpa(struct guest_fault *gf) * Relies on x0..x31 being laid out at the start of struct cpu_user_regs in * architectural register-number order; see the comment there. */ -static __maybe_unused unsigned long *guest_gpr(struct cpu_user_regs *regs, - unsigned int reg)Could we unified this function with regs_get_gpr()?
I think it could. I will try to do in the unified way. Thanks! ~ Oleksii
