qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [4781] Fix compiler warning (Jan Kiszka)


From: Blue Swirl
Subject: [Qemu-devel] [4781] Fix compiler warning (Jan Kiszka)
Date: Mon, 23 Jun 2008 16:58:05 +0000

Revision: 4781
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4781
Author:   blueswir1
Date:     2008-06-23 16:58:04 +0000 (Mon, 23 Jun 2008)

Log Message:
-----------
Fix compiler warning (Jan Kiszka)

Modified Paths:
--------------
    trunk/target-sparc/cpu.h

Modified: trunk/target-sparc/cpu.h
===================================================================
--- trunk/target-sparc/cpu.h    2008-06-23 12:57:09 UTC (rev 4780)
+++ trunk/target-sparc/cpu.h    2008-06-23 16:58:04 UTC (rev 4781)
@@ -366,14 +366,15 @@
     } while (0)
 #define GET_CWP64(env) (env->nwindows - 1 - (env)->cwp)
 
+#ifndef NO_CPU_IO_DEFS
 static inline void PUT_CWP64(CPUSPARCState *env1, int cwp)
 {
     if (unlikely(cwp >= env1->nwindows || cwp < 0))
         cwp = 0;
     cpu_set_cwp(env1, env1->nwindows - 1 - cwp);
 }
-
 #endif
+#endif
 
 int cpu_sparc_signal_handler(int host_signum, void *pinfo, void *puc);
 void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,






reply via email to

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