patch-2.4.20 linux-2.4.20/ipc/util.c
Next file: linux-2.4.20/ipc/util.h
Previous file: linux-2.4.20/ipc/sem.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/ipc/util.c
- Orig date:
Sun Aug 12 17:37:53 2001
diff -urN linux-2.4.19/ipc/util.c linux-2.4.20/ipc/util.c
@@ -312,7 +312,7 @@
out->seq = in->seq;
}
-#ifndef __ia64__
+#if !defined(__ia64__) && !defined(__hppa__)
/**
* ipc_parse_version - IPC call version
@@ -325,6 +325,10 @@
int ipc_parse_version (int *cmd)
{
+#ifdef __x86_64__
+ if (!(current->thread.flags & THREAD_IA32))
+ return IPC_64;
+#endif
if (*cmd & IPC_64) {
*cmd ^= IPC_64;
return IPC_64;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)