[PATCH] revoke: fix VM_REVOKED mask

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]>

Fix VM_REVOKED mask which overlaps with VM_ALWAYSDUMP.

Cc: Peter Zijlstra <[EMAIL PROTECTED]>
Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]>
---
 include/linux/mm.h |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: uml-2.6/include/linux/mm.h
===
--- uml-2.6.orig/include/linux/mm.h 2007-03-09 11:14:06.0 +0200
+++ uml-2.6/include/linux/mm.h  2007-03-09 11:14:19.0 +0200
@@ -169,8 +169,7 @@ #define VM_NONLINEAR0x0080  /* Is no
 #define VM_MAPPED_COPY 0x0100  /* T if mapped copy of data (nommu 
mmap) */
 #define VM_INSERTPAGE  0x0200  /* The vma has had "vm_insert_page()" 
done on it */
 #define VM_ALWAYSDUMP  0x0400  /* Always include in core dumps */
-
-#define VM_REVOKED 0x0400  /* Mapping has been revoked */
+#define VM_REVOKED 0x0800  /* Mapping has been revoked */
 
 #ifndef VM_STACK_DEFAULT_FLAGS /* arch can override this */
 #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] revoke: fix VM_REVOKED mask

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg [EMAIL PROTECTED]

Fix VM_REVOKED mask which overlaps with VM_ALWAYSDUMP.

Cc: Peter Zijlstra [EMAIL PROTECTED]
Signed-off-by: Pekka Enberg [EMAIL PROTECTED]
---
 include/linux/mm.h |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: uml-2.6/include/linux/mm.h
===
--- uml-2.6.orig/include/linux/mm.h 2007-03-09 11:14:06.0 +0200
+++ uml-2.6/include/linux/mm.h  2007-03-09 11:14:19.0 +0200
@@ -169,8 +169,7 @@ #define VM_NONLINEAR0x0080  /* Is no
 #define VM_MAPPED_COPY 0x0100  /* T if mapped copy of data (nommu 
mmap) */
 #define VM_INSERTPAGE  0x0200  /* The vma has had vm_insert_page() 
done on it */
 #define VM_ALWAYSDUMP  0x0400  /* Always include in core dumps */
-
-#define VM_REVOKED 0x0400  /* Mapping has been revoked */
+#define VM_REVOKED 0x0800  /* Mapping has been revoked */
 
 #ifndef VM_STACK_DEFAULT_FLAGS /* arch can override this */
 #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/