| From 46e4a188bcbbeaa2d6f3f50e7eebdde544df904f 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> |
| --- |
| arch/x86/mm/pageattr.c | 2 ++ |
| 1 files changed, 2 insertions(+), 0 deletions(-) |
| |
| diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c |
| index 28195c3..6299eba 100644 |
| --- a/arch/x86/mm/pageattr.c |
| +++ b/arch/x86/mm/pageattr.c |
| @@ -882,8 +882,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.0.4 |
| |