]> git.neil.brown.name Git - history.git/commit
[PATCH] x86_64: Fix ioremap attribute restoration on i386 and x86-64
authorAndi Kleen <ak@suse.de>
Tue, 11 Jan 2005 09:48:53 +0000 (01:48 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 11 Jan 2005 09:48:53 +0000 (01:48 -0800)
commit54465502760ca40444639dcb8114860dda8a5453
tree9db07a710916c4e5865b66f0449a1ae50cb94e23
parent82a7151979b57d1ca84792ddf19efccc247c9558
[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>
arch/i386/mm/ioremap.c
arch/x86_64/mm/ioremap.c
include/linux/vmalloc.h