Skip to content

linux/x86: more hypercall macro adjustments

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3linux/x86-64: don't use explicit moves in 4- and 5-argument hypercall macrosinclude/asm-x86_64/mach-xen/asm/hypercall.h+9 -90 replies
2/3linux/x86: avoid casting hypercall return valueinclude/asm-i386/mach-xen/asm/hypercall.h include/asm-x86_64/mach-xen/asm/hypercall.h+34 -240 replies
3/3linux/x86: avoid casting hypercall arguments to longinclude/asm-i386/mach-xen/asm/hypercall.h include/asm-x86_64/mach-xen/asm/hypercall.h+24 -251 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] linux/x86: more hypercall macro adjustments

This is the split up of a previously submitted patch.

The first one removes explicit moves from the x86-64 hypercall macros. The second one removes the needless casting of the hypercall result value.
The third one replaces the casting to long by a mechanism enforcing extension to at least int, but avoiding needless extension to long where possible.

As usual, written and tested on 2.6.24 and made apply to the 2.6.18 tree without further testing.