All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: "Johnson, Eric" <ericj@mips.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH 09/15] target-mips: Clean includes
Date: Wed, 29 Feb 2012 06:58:07 +0100	[thread overview]
Message-ID: <4F4DBE6F.5070507@weilnetz.de> (raw)
In-Reply-To: <AD431C1EF67D4B4B801AEC089EB7ED48012326D3F0@exchdb03.mips.com>

Am 29.02.2012 00:51, schrieb Johnson, Eric:
> You may want to just put those includes inside an '#ifdef 
> MIPS_DEBUG_DISAS' instead of removing them.
>
> Although I suppose we could just add back the minimum needed along 
> with the patches to fix the compile when MIPS_DEBUG_DISAS is defined.

Hi Eric,

those includes are redundant. I removed them here, but they are still 
included
(cpu.h includes qemu-common.h which includes the standard includes).
So there is no need for #ifdef MIPS_DEBUG_DISAS.

Compilation with MIPS_DEBUG_DISAS nevertheless fails, but it also fails with
current git master. This is a problem which is not related to my patch 
series.

Cheers,

Stefan W.


>
> -----Original Message-----
> From: qemu-devel-bounces+ericj=mips.com@nongnu.org 
> [mailto:qemu-devel-bounces+ericj=mips.com@nongnu.org] On Behalf Of 
> Stefan Weil
> Sent: Tuesday, February 28, 2012 1:47 PM
> To: Anthony Liguori
> Cc: Stefan Weil; qemu-devel@nongnu.org; Aurelien Jarno
> Subject: [Qemu-devel] [PATCH 09/15] target-mips: Clean includes
>
> Remove some include statements which are not needed.
>
> Cc: Aurelien Jarno <aurelien@aurel32.net>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> target-mips/translate.c | 7 -------
> 1 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/target-mips/translate.c b/target-mips/translate.c index 
> d5b1c76..8361d88 100644
> --- a/target-mips/translate.c
> +++ b/target-mips/translate.c
> @@ -20,16 +20,9 @@
> * License along with this library; if not, see 
> <http://www.gnu.org/licenses/>.
> */
>
> -#include <stdarg.h>
> -#include <stdlib.h>
> -#include <stdio.h>
> -#include <string.h>
> -#include <inttypes.h>
> -
> #include "cpu.h"
> #include "disas.h"
> #include "tcg-op.h"
> -#include "qemu-common.h"
>
> #include "helper.h"
> #define GEN_HELPER 1
> --
> 1.7.9
>
>

  reply	other threads:[~2012-02-29  5:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 21:47 [Qemu-devel] [PULL] Patch queue Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 01/15] Remove macro HOST_LONG_SIZE Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 02/15] target-alpha: Clean includes Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 03/15] target-arm: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 04/15] target-cris: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 05/15] target-i386: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 06/15] target-lm32: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 07/15] target-m68k: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 08/15] target-microblaze: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 09/15] target-mips: " Stefan Weil
2012-02-28 23:51   ` Johnson, Eric
2012-02-29  5:58     ` Stefan Weil [this message]
2012-02-28 21:47 ` [Qemu-devel] [PATCH 10/15] target-ppc: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 11/15] target-s390x: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 12/15] target-sh4: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 13/15] target-unicore32: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 14/15] target-xtensa: " Stefan Weil
2012-02-28 21:47 ` [Qemu-devel] [PATCH 15/15] Move definition of HOST_LONG_BITS to qemu-common.h Stefan Weil
2012-03-04 11:27 ` [Qemu-devel] [PULL] Patch queue Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2012-02-02 21:12 [Qemu-devel] [PATCH 00/15] Clean some includes and definitions Stefan Weil
2012-02-02 21:12 ` [Qemu-devel] [PATCH 09/15] target-mips: Clean includes Stefan Weil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4DBE6F.5070507@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=aliguori@us.ibm.com \
    --cc=aurelien@aurel32.net \
    --cc=ericj@mips.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.