]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] i386: Implement vmi_kmap_atomic_pte
authorZachary Amsden <zach@vmware.com>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
commiteeef9c68aae2f4f21ab810d0339e0f22d30b0cd8
tree8f13bf2b617ac6c8cb3855fcc924e22bb4096197
parent9f53a729dbf0ba8abdc464f6eb828f485d3417f7
[PATCH] i386: Implement vmi_kmap_atomic_pte

Implement vmi_kmap_atomic_pte in terms of the backend set_linear_mapping
operation.  The conversion is rather straighforward; call kmap_atomic
and then inform the hypervisor of the page mapping.

The _flush_tlb damage is due to macros being pulled in from highmem.h.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/vmi.c