Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KApMo-0000MO-3w for qemu-devel@nongnu.org; Mon, 23 Jun 2008 12:58:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KApMm-0000LW-3W for qemu-devel@nongnu.org; Mon, 23 Jun 2008 12:58:08 -0400 Received: from [199.232.76.173] (port=38030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KApMl-0000L3-MV for qemu-devel@nongnu.org; Mon, 23 Jun 2008 12:58:07 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47383 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KApMl-0004X3-Pt for qemu-devel@nongnu.org; Mon, 23 Jun 2008 12:58:07 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KApMj-0005E7-Sg for qemu-devel@nongnu.org; Mon, 23 Jun 2008 16:58:05 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KApMj-0005Dy-Jw for qemu-devel@nongnu.org; Mon, 23 Jun 2008 16:58:05 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Mon, 23 Jun 2008 16:58:05 +0000 Subject: [Qemu-devel] [4781] Fix compiler warning (Jan Kiszka) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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,