target/i386: fix shadowed variable pastopull-shadow-2023-10-12
commitc35b2fb1fdc7f6926653cc6df289e5bd77ecbad3
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Oct 2023 13:53:50 +0000 (11 15:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 12 Oct 2023 14:37:31 +0000 (12 16:37 +0200)
tree4b02885bcfcf9c19afa07dd8109770882660e381
parentcc46a7ef3b05242896016cd2928a123ed711272f
target/i386: fix shadowed variable pasto

Commit a908985971a ("target/i386/seg_helper: introduce tss_set_busy",
2023-09-26) failed to use the tss_selector argument of the new function,
which was therefore unused.

This shows up as a #GP fault when booting old versions of 32-bit
Linux.

Fixes: a908985971a ("target/i386/seg_helper: introduce tss_set_busy", 2023-09-26)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20231011135350.438492-1-pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
target/i386/tcg/seg_helper.c