]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
objtool: Use arch specific values in restore_reg()
authorJulien Thierry <jthierry@redhat.com>
Fri, 27 Mar 2020 15:28:43 +0000 (15:28 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2020 08:53:49 +0000 (10:53 +0200)
commitaff5e16918c3706622b138ea82391d6c597c5660
treed72bf41aea76fdc1a9ee47780858015951552888
parent7170cf47d16f1ba29eca07fd818870b7af0a93a5
objtool: Use arch specific values in restore_reg()

The initial register state is set up by arch specific code. Use the
value the arch code has set when restoring registers from the stack.

Suggested-by: Raphael Gault <raphael.gault@arm.com>
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/check.c