qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [6001] Fix warning about unused shm_regions


From: Blue Swirl
Subject: [Qemu-devel] [6001] Fix warning about unused shm_regions
Date: Sat, 13 Dec 2008 11:37:02 +0000

Revision: 6001
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6001
Author:   blueswir1
Date:     2008-12-13 11:37:02 +0000 (Sat, 13 Dec 2008)

Log Message:
-----------
Fix warning about unused shm_regions

Modified Paths:
--------------
    trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================
--- trunk/linux-user/syscall.c  2008-12-13 09:32:43 UTC (rev 6000)
+++ trunk/linux-user/syscall.c  2008-12-13 11:37:02 UTC (rev 6001)
@@ -1614,12 +1614,14 @@
 }
 #endif
 
+#ifdef TARGET_NR_ipc
 #define N_SHM_REGIONS  32
 
 static struct shm_region {
     abi_ulong  start;
     abi_ulong  size;
 } shm_regions[N_SHM_REGIONS];
+#endif
 
 struct target_ipc_perm
 {






reply via email to

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