summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/mmu_context.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-05-19 15:13:30 +0200
committerTony Luck <tony.luck@intel.com>2008-05-27 23:38:44 +0200
commit0e1a77ccdbc4ca59ccaf84168a0c3c1df4fadfc0 (patch)
treeceee49874e01183a1871778744c4033864853585 /include/asm-ia64/mmu_context.h
parent[IA64] pvops: preparation: move the constants, LOAD_OFFSET, to a header file. (diff)
downloadlinux-0e1a77ccdbc4ca59ccaf84168a0c3c1df4fadfc0.tar.xz
linux-0e1a77ccdbc4ca59ccaf84168a0c3c1df4fadfc0.zip
[IA64] pvops: preparation: introduce ia64_set_rr0_to_rr4() to make kernel paravirtualization friendly.
make kernel paravirtualization friendly by introducing ia64_set_rr0_to_rr4(). ia64/Xen will replace setting rr[0-4] with single hypercall later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to '')
-rw-r--r--include/asm-ia64/mmu_context.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-ia64/mmu_context.h b/include/asm-ia64/mmu_context.h
index cef2400983fa..040bc87db930 100644
--- a/include/asm-ia64/mmu_context.h
+++ b/include/asm-ia64/mmu_context.h
@@ -152,11 +152,7 @@ reload_context (nv_mm_context_t context)
# endif
#endif
- ia64_set_rr(0x0000000000000000UL, rr0);
- ia64_set_rr(0x2000000000000000UL, rr1);
- ia64_set_rr(0x4000000000000000UL, rr2);
- ia64_set_rr(0x6000000000000000UL, rr3);
- ia64_set_rr(0x8000000000000000UL, rr4);
+ ia64_set_rr0_to_rr4(rr0, rr1, rr2, rr3, rr4);
ia64_srlz_i(); /* srlz.i implies srlz.d */
}