qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4781] Fix compiler warning (Jan Kiszka)
@ 2008-06-23 16:58 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-06-23 16:58 UTC (permalink / raw)
  To: qemu-devel

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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-23 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 16:58 [Qemu-devel] [4781] Fix compiler warning (Jan Kiszka) Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).