aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-08-11 22:53:18 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-08-11 22:53:18 -0700
commit1d0c6cd344818e3cef6fd11a9e20e6a63b8d2999 (patch)
tree0d2275dd62190fab0db0077a3cd33262629cdb47 /include
parentda58de4bc4757780df70c71195ced7f4611102ca (diff)
downloadhistory-1d0c6cd344818e3cef6fd11a9e20e6a63b8d2999.tar.gz
[SPARC64]: Fix non-SMP build.
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/tlb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/tlb.h b/include/asm-sparc64/tlb.h
index 5854a89aecf4a5..874a46373fe067 100644
--- a/include/asm-sparc64/tlb.h
+++ b/include/asm-sparc64/tlb.h
@@ -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)