Signed-off-by: Jens Remus <[email protected]>
---
Notes (jremus):
This fixup adjusts patch "[PATCH 12/12] unwind_user/x86: Enable frame
pointer unwinding on x86" [1] to my preceding fixup, which limits the
down-/upscaling by word size to unwind user (compat) fp.
[1]: https://lore.kernel.org/lkml/[email protected]/
arch/x86/include/asm/unwind_user.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/include/asm/unwind_user.h
b/arch/x86/include/asm/unwind_user.h
index e649b8fea2aa..5e0755ea3086 100644
--- a/arch/x86/include/asm/unwind_user.h
+++ b/arch/x86/include/asm/unwind_user.h
@@ -2,10 +2,10 @@
#ifndef _ASM_X86_UNWIND_USER_H
#define _ASM_X86_UNWIND_USER_H
-#define ARCH_INIT_USER_FP_FRAME \
- .cfa_off = 2, \
- .ra_off = -1, \
- .fp_off = -2, \
+#define ARCH_INIT_USER_FP_FRAME(ws) \
+ .cfa_off = 2*(ws), \
+ .ra_off = -1*(ws), \
+ .fp_off = -2*(ws), \
.use_fp = true,
#endif /* _ASM_X86_UNWIND_USER_H */
--
2.48.1