All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] bswap.h: build fix
@ 2011-09-13 13:12 Christoph Egger
  2011-09-16 14:44 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Egger @ 2011-09-13 13:12 UTC (permalink / raw)
  To: qemu-devel


qemu build fails when CONFIG_MACHINE_BSWAP_H is defined
because float32, float64, etc. are not defined.
This makes qemu build.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>

diff --git a/bswap.h b/bswap.h
index f41bebe..cc7f84d 100644
--- a/bswap.h
+++ b/bswap.h
@@ -4,6 +4,7 @@
  #include "config-host.h"

  #include <inttypes.h>
+#include "softfloat.h"

  #ifdef CONFIG_MACHINE_BSWAP_H
  #include <sys/endian.h>
@@ -11,8 +12,6 @@
  #include <machine/bswap.h>
  #else

-#include "softfloat.h"
-
  #ifdef CONFIG_BYTESWAP_H
  #include <byteswap.h>
  #else



-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] bswap.h: build fix
  2011-09-13 13:12 [Qemu-devel] [PATCH] bswap.h: build fix Christoph Egger
@ 2011-09-16 14:44 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2011-09-16 14:44 UTC (permalink / raw)
  To: Christoph Egger; +Cc: qemu-devel

On 09/13/2011 08:12 AM, Christoph Egger wrote:
>
> qemu build fails when CONFIG_MACHINE_BSWAP_H is defined
> because float32, float64, etc. are not defined.
> This makes qemu build.
>
> Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>


Applied.  Thanks.

Regards,

Anthony Liguori


>
> diff --git a/bswap.h b/bswap.h
> index f41bebe..cc7f84d 100644
> --- a/bswap.h
> +++ b/bswap.h
> @@ -4,6 +4,7 @@
> #include "config-host.h"
>
> #include <inttypes.h>
> +#include "softfloat.h"
>
> #ifdef CONFIG_MACHINE_BSWAP_H
> #include <sys/endian.h>
> @@ -11,8 +12,6 @@
> #include <machine/bswap.h>
> #else
>
> -#include "softfloat.h"
> -
> #ifdef CONFIG_BYTESWAP_H
> #include <byteswap.h>
> #else
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-16 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 13:12 [Qemu-devel] [PATCH] bswap.h: build fix Christoph Egger
2011-09-16 14:44 ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.