2002-03-21 17:21:56

by Chris Meadors

[permalink] [raw]
Subject: [PATCH] Needed to get 2.5.7 to compile and link on Alpha [2/10]

Simple one liner that is Obviously correct. Should have been done by
whom ever updated the i386 arch.

-Chris


--- linux-2.5.7/include/asm-alpha/mman.h~ Mon Mar 18 15:37:03 2002
+++ linux-2.5.7/include/asm-alpha/mman.h Wed Mar 20 08:04:42 2002
@@ -4,6 +4,7 @@
#define PROT_READ 0x1 /* page can be read */
#define PROT_WRITE 0x2 /* page can be written */
#define PROT_EXEC 0x4 /* page can be executed */
+#define PROT_SEM 0x8 /* page may be used for atomic ops */
#define PROT_NONE 0x0 /* page can not be accessed */

#define MAP_SHARED 0x01 /* Share changes */