diff options
| author | Andi Kleen <ak@suse.de> | 2005-01-11 01:48:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-11 01:48:53 -0800 |
| commit | 54465502760ca40444639dcb8114860dda8a5453 (patch) | |
| tree | 9db07a710916c4e5865b66f0449a1ae50cb94e23 /include/linux | |
| parent | 82a7151979b57d1ca84792ddf19efccc247c9558 (diff) | |
[PATCH] x86_64: Fix ioremap attribute restoration on i386 and x86-64
We need to save the access flags to properly restore the direct mapping on
unmap. For that we use some upper bits in vm_flags
Also add a comment for that to the header file.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vmalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 8c68717810c3..9af7ad38c08d 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -8,6 +8,7 @@ #define VM_IOREMAP 0x00000001 /* ioremap() and friends */ #define VM_ALLOC 0x00000002 /* vmalloc() */ #define VM_MAP 0x00000004 /* vmap()ed pages */ +/* bits [20..32] reserved for arch specific ioremap internals */ struct vm_struct { void *addr; |
