Skip to content
Commit aa78bcfa authored by Brian Gerst's avatar Brian Gerst Committed by Ingo Molnar
Browse files

x86: use pt_regs pointer in do_device_not_available()



The generic exception handler (error_code) passes in the pt_regs
pointer and the error code (unused in this case).  The commit
"x86: fix math_emu register frame access" changed this to pass by
value, which doesn't work correctly with stack protector enabled.
Change it back to use the pt_regs pointer.

Signed-off-by: default avatarBrian Gerst <brgerst@gmail.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ebd9026d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment