[Linux-ia64] IA-32 emulation patch: ipc_perm32.patch

From: Arun Sharma <arun.sharma_at_intel.com>
Date: 2003-05-23 11:56:16
In the absence of the patch, this system call fails:

shmctl(shmid, IPC_STAT, &shmid_ds) 

The patch corrects the definition of the ipc_perm32 structure.

	-Arun

===== linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c 1.16 vs edited =====
--- 1.16/arch/ia64/ia32/sys_ia32.c	Fri Apr 18 10:55:20 2003
+++ edited/linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c	Thu May 22 17:59:55 2003
@@ -2085,7 +2085,7 @@
 };
 
 struct shmid64_ds32 {
-	struct ipc64_perm shm_perm;
+	struct ipc64_perm32 shm_perm;
 	__kernel_size_t32 shm_segsz;
 	__kernel_time_t32 shm_atime;
 	unsigned int __unused1;
Received on Thu May 22 18:56:50 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST