diff options
author | Peter Zijlstra <[email protected]> | 2019-11-20 13:05:06 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2019-11-21 19:37:43 +0100 |
commit | 40ad2199580e248dce2a2ebb722854180c334b9e (patch) | |
tree | b5e3473eaf27430c458b7393e61f5e423d814569 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 880a98c339961eaa074393e3a2117cbe9125b8bb (diff) |
x86/entry/32: Fix IRET exception
As reported by Lai, the commit 3c88c692c287 ("x86/stackframe/32:
Provide consistent pt_regs") wrecked the IRET EXTABLE entry by making
.Lirq_return not point at IRET.
Fix this by placing IRET_FRAME in RESTORE_REGS, to mirror how
FIXUP_FRAME is part of SAVE_ALL.
Fixes: 3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs")
Reported-by: Lai Jiangshan <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions