qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 9/9] xilinx_timer: Fix a compile error if debug


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH 9/9] xilinx_timer: Fix a compile error if debug messages are enabled.
Date: Wed, 12 Sep 2012 10:25:15 +1000

Queued to microblaze-devs.

Thanks,
Peter

On Mon, Sep 10, 2012 at 10:20 AM,  <address@hidden> wrote:
> From: Chris Wulff <address@hidden>
>
> Signed-off-by: Chris Wulff <address@hidden>-by: Chris Wulff <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>

> ---
>  hw/xilinx_timer.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c
> index b562bd0..18f354b 100644
> --- a/hw/xilinx_timer.c
> +++ b/hw/xilinx_timer.c
> @@ -24,6 +24,7 @@
>
>  #include "sysbus.h"
>  #include "ptimer.h"
> +#include "qemu-log.h"
>
>  #define D(x)
>
> @@ -189,7 +190,7 @@ static void timer_hit(void *opaque)
>  {
>      struct xlx_timer *xt = opaque;
>      struct timerblock *t = xt->parent;
> -    D(printf("%s %d\n", __func__, timer));
> +    D(printf("%s %d\n", __func__, xt->nr));
>      xt->regs[R_TCSR] |= TCSR_TINT;
>
>      if (xt->regs[R_TCSR] & TCSR_ARHT)
> --
> 1.7.9.5
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]