aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pgtable.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-17 14:41:59 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-20 09:09:54 -0400
commitd494a96125c99f1e37b1f831b29b42c9b712ee05 (patch)
tree2a43489c1e3ba0fce51326e7548512252a052eef /include/asm-x86/pgtable.h
parent7c7e6e07e2a7c0d2d96389f4f0540e44a80ecdaa (diff)
x86: implement set_pte_vaddr
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/pgtable.h')
-rw-r--r--include/asm-x86/pgtable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h
index 97c271b2910b..702f2699c6df 100644
--- a/include/asm-x86/pgtable.h
+++ b/include/asm-x86/pgtable.h
@@ -318,6 +318,9 @@ int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
318 unsigned long size, pgprot_t *vma_prot); 318 unsigned long size, pgprot_t *vma_prot);
319#endif 319#endif
320 320
321/* Install a pte for a particular vaddr in kernel space. */
322void set_pte_vaddr(unsigned long vaddr, pte_t pte);
323
321#ifdef CONFIG_PARAVIRT 324#ifdef CONFIG_PARAVIRT
322#include <asm/paravirt.h> 325#include <asm/paravirt.h>
323#else /* !CONFIG_PARAVIRT */ 326#else /* !CONFIG_PARAVIRT */