/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1130-2.6.25-xen-pvops-64-call-paravirt_activate_mm-on-activate_mm.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1130-2.6.25-xen-pvops-64-call-paravirt_activate_mm-on-activate_mm.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 925 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 925 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From a0e7f7a15fe6c93960aa91d34eb08e814bf3aa47 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Fri, 25 Jan 2008 12:01:11 -0200 |
4 | Subject: [PATCH] pvops-64: call paravirt_activate_mm() on activate_mm() |
5 | |
6 | This hook was forgotten on 64-bit paravirt_ops. |
7 | |
8 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
9 | --- |
10 | include/asm-x86/mmu_context_64.h | 6 ++++-- |
11 | 1 files changed, 4 insertions(+), 2 deletions(-) |
12 | |
13 | diff --git a/include/asm-x86/mmu_context_64.h b/include/asm-x86/mmu_context_64.h |
14 | index ad6dc82..1327119 100644 |
15 | --- a/include/asm-x86/mmu_context_64.h |
16 | +++ b/include/asm-x86/mmu_context_64.h |
17 | @@ -65,7 +65,9 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, |
18 | } while(0) |
19 | |
20 | #define activate_mm(prev, next) \ |
21 | - switch_mm((prev),(next),NULL) |
22 | - |
23 | + do { \ |
24 | + paravirt_activate_mm(prev, next); \ |
25 | + switch_mm((prev),(next),NULL); \ |
26 | + } while (0) |
27 | |
28 | #endif |
29 | -- |
30 | 1.5.4.1 |
31 |