]> xenbits.xensource.com Git - xen.git/commit
xen/livepatch: Clean up arch relocation handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Jun 2017 20:17:47 +0000 (21:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Jun 2017 14:00:37 +0000 (15:00 +0100)
commitbf570f593554356eb508ac2f8ffb05ebbf747c78
treeb5547595309c22b71e20aea8b4dca96504987fb1
parentd5bd9fe27e7cc59c084fa8c32df6716b15051b95
xen/livepatch: Clean up arch relocation handling

 * Reduce symbol scope and initalisation as much as possible
 * Annotate a fallthrough case in arm64
 * Fix switch statement style in arm32

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> [x86 and arm32]
xen/arch/arm/arm32/livepatch.c
xen/arch/arm/arm64/livepatch.c
xen/arch/x86/livepatch.c