| From ca5cc01ec3aab5b0dbc8337ca213319cd434b830 Mon Sep 17 00:00:00 2001 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Fri, 3 Jul 2009 08:44:34 -0500 |
| Subject: [PATCH] x86: No pageattr_flush_unused on RT |
| |
| commit 99fddf28a45f6c47f94fd694ae60e45e55ef4bfd in tip. |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c |
| index 1d4eb93..a84a759 100644 |
| --- a/arch/x86/mm/pageattr.c |
| +++ b/arch/x86/mm/pageattr.c |
| @@ -861,8 +861,10 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages, |
| baddr = *addr; |
| } |
| |
| +#if 0 |
| /* Must avoid aliasing mappings in the highmem code */ |
| kmap_flush_unused(); |
| +#endif |
| |
| vm_unmap_aliases(); |
| |
| -- |
| 1.7.1.1 |
| |