]> git.hungrycats.org Git - linux/commitdiff
[SPARC64]: Fix non-SMP build.
authorDavid S. Miller <davem@nuts.davemloft.net>
Thu, 12 Aug 2004 05:53:18 +0000 (22:53 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 12 Aug 2004 05:53:18 +0000 (22:53 -0700)
Signed-off-by: David S. Miller <davem@redhat.com>
include/asm-sparc64/tlb.h

index 5854a89aecf4a54bf828eb8651ae5104861126bd..874a46373fe06723d7fdaa549ad562ff53eb0892 100644 (file)
@@ -73,7 +73,7 @@ static inline void tlb_flush_mmu(struct mmu_gather *mp)
 extern void smp_flush_tlb_mm(struct mm_struct *mm);
 #define do_flush_tlb_mm(mm) smp_flush_tlb_mm(mm)
 #else
-#define do_flush_tlb_mm(mm) __flush_tlb_mm(CTX_HWBITS(mm), SECONDARY_CONTEXT)
+#define do_flush_tlb_mm(mm) __flush_tlb_mm(CTX_HWBITS(mm->context), SECONDARY_CONTEXT)
 #endif
 
 static inline void tlb_finish_mmu(struct mmu_gather *mp, unsigned long start, unsigned long end)