]> xenbits.xensource.com Git - xen.git/commit
xen/wait: Remove indirect jump
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Oct 2021 15:07:07 +0000 (16:07 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 9 Apr 2024 16:16:32 +0000 (17:16 +0100)
commit1e37e4d2c0e78108e06a6661ea82b785dc5a58fe
tree8a56666067ce09c123aebae3a21a8cecca2f0b41
parenteb4b730ac68af4009913a97674837f587ae39957
xen/wait: Remove indirect jump

There is no need for this to be an indirect jump at all.  Execution always
returns to a specific location, so use a direct jump instead.

Use a named label for the jump.  As both 1 and 2 have disappeared as labels,
rename 3 to skip to better describe its purpose.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit f03567bd7e8efc0f667a67905862e6047babdb7a)
xen/common/wait.c