]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] vmi: fix highpte
authorZachary Amsden <zach@vmware.com>
Mon, 5 Mar 2007 08:30:37 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Mar 2007 15:57:52 +0000 (07:57 -0800)
commit9a1c13e91f100c12dcad3a1be1b12890bf32f6ff
tree9c132900f5b331570d91df515167776586fb2960
parent1182d8528b620c23d043bccbbef092b42062960a
[PATCH] vmi: fix highpte

Provide a PT map hook for HIGHPTE kernels to designate where they are mapping
page tables.  This information is required so the physical address of PTE
updates can be determined; otherwise, the mm layer would have to carry the
physical address all the way to each PTE modification callsite, which is even
more hideous that the macros required to provide the proper hooks.

So lets not mess up arch neutral code to achieve this, but keep the horror in
an #ifdef HIGHPTE in include/asm-i386/pgtable.h.  I had to use macros here
because some types are not yet defined in all the include paths for this
header.

This patch is absolutely required for HIGHPTE kernels to operate properly with
VMI.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/paravirt.c
arch/i386/kernel/vmi.c
include/asm-i386/paravirt.h
include/asm-i386/pgtable.h