Commit:     ef0fce855677cc64c82331c0f6fd99fa526b95c2
Parent:     bde631a51876f23e9bbdce43f02b7232502c151e
Author:     Benjamin Herrenschmidt <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:26:28 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:43:03 2007 -0700

    remove frv usage of flush_tlb_pgtables()
    frv is the last user in the tree of that dubious hook, and it's my
    understanding that it's not even needed.  It's only called by memory.c
    free_pgd_range() which is always called within an mmu_gather, and
    tlb_flush() on frv will do a flush_tlb_mm(), which from my reading of the
    code, seems to do what flush_tlb_ptables() does, which is to clear the
    cached PGE.
    Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Acked-By: David Howells <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/asm-frv/tlbflush.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/asm-frv/tlbflush.h b/include/asm-frv/tlbflush.h
index da3a317..8370f97 100644
--- a/include/asm-frv/tlbflush.h
+++ b/include/asm-frv/tlbflush.h
@@ -57,8 +57,7 @@ do {                                                          
 #define __flush_tlb_global()                   flush_tlb_all()
 #define flush_tlb()                            flush_tlb_all()
 #define flush_tlb_kernel_range(start, end)     flush_tlb_all()
-#define flush_tlb_pgtables(mm,start,end) \
-       asm volatile("movgs %0,scr0 ! movgs %0,scr1" :: "r"(ULONG_MAX) : 
+#define flush_tlb_pgtables(mm,start,end)       do { } while(0)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to