qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 6/7] clean build: Fix remaining m68k warnings


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH 6/7] clean build: Fix remaining m68k warnings
Date: Sat, 7 Mar 2009 22:48:55 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Feb 21, 2009 at 08:00:56PM +0100, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <address@hidden>
> ---

Thanks, applied.

> 
>  target-m68k/cpu.h    |    3 +++
>  target-m68k/exec.h   |    3 ---
>  target-m68k/helper.c |    5 -----
>  3 files changed, 3 insertions(+), 8 deletions(-)
> 
> diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
> index 4f55a6e..4ac7dae 100644
> --- a/target-m68k/cpu.h
> +++ b/target-m68k/cpu.h
> @@ -222,6 +222,9 @@ static inline int cpu_mmu_index (CPUState *env)
>      return (env->sr & SR_S) == 0 ? 1 : 0;
>  }
>  
> +int cpu_m68k_handle_mmu_fault(CPUState *env, target_ulong address, int rw,
> +                              int mmu_idx, int is_softmmu);
> +
>  #if defined(CONFIG_USER_ONLY)
>  static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
>  {
> diff --git a/target-m68k/exec.h b/target-m68k/exec.h
> index 9117484..fba371c 100644
> --- a/target-m68k/exec.h
> +++ b/target-m68k/exec.h
> @@ -37,9 +37,6 @@ static inline void regs_to_env(void)
>  {
>  }
>  
> -int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
> -                              int mmu_idx, int is_softmmu);
> -
>  #if !defined(CONFIG_USER_ONLY)
>  #include "softmmu_exec.h"
>  #endif
> diff --git a/target-m68k/helper.c b/target-m68k/helper.c
> index 7eb21dd..493498e 100644
> --- a/target-m68k/helper.c
> +++ b/target-m68k/helper.c
> @@ -454,11 +454,6 @@ uint32_t HELPER(xflag_lt)(uint32_t a, uint32_t b)
>      return a < b;
>  }
>  
> -uint32_t HELPER(btest)(uint32_t x)
> -{
> -    return x != 0;
> -}
> -
>  void HELPER(set_sr)(CPUState *env, uint32_t val)
>  {
>      env->sr = val & 0xffff;
> 
> 
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net




reply via email to

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