[libvirt] [PATCH 4/4] cpu: Avoid c99 style of assembler
Peter Krempa
pkrempa at redhat.com
Thu Apr 27 07:24:54 UTC 2017
On Thu, Apr 27, 2017 at 09:02:00 +0200, Michal Privoznik wrote:
> In c89 - the standard we claim to support - there is no asm()
I'm not quite sure about the truth of this statement. Especially after
commits like:
0f6c46c3d virsh.c: Switch to C99 initialization of vshCmdOptDef
879d409e9 Convert all driver struct intializers to C99 style
and quite a lot more ...
> rather than __asm__(). Switch from the former to the latter.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/cpu/cpu_ppc64.c | 4 ++--
> src/cpu/cpu_x86.c | 44 ++++++++++++++++++++++----------------------
> 2 files changed, 24 insertions(+), 24 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170427/643c0bd7/attachment-0001.sig>
More information about the libvir-list
mailing list