Re: 2.2.0-pre4: compile error

Trevor Johnson (trevor@jpj.net)
Sun, 3 Jan 1999 20:56:11 -0800 (PST)


> util.c:16: asm/ipc.h: No such file or directory

> Alpha appears to be the only port without an asm/ipc.h.

Hi, Tim. Does the patch below work for you?
___
Trevor Johnson

--- /dev/null Mon Jul 20 17:45:36 1998
+++ linux/include/asm-alpha/ipc.h Sun Jan 3 20:54:59 1999
@@ -0,0 +1,28 @@
+#ifndef __ALPHA_IPC_H__
+#define __ALPHA_IPC_H__
+
+/*
+ * These are used to wrap system calls on the Alpha.
+ */
+
+struct ipc_kludge {
+ u32 msgp;
+ s32 msgtyp;
+};
+
+#define SEMOP 1
+#define SEMGET 2
+#define SEMCTL 3
+#define MSGSND 11
+#define MSGRCV 12
+#define MSGGET 13
+#define MSGCTL 14
+#define SHMAT 21
+#define SHMDT 22
+#define SHMGET 23
+#define SHMCTL 24
+
+/* We don't need to maintain backward compatibility because we've started fresh */
+#define IPCCALL(version,op) (op)
+
+#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/