diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-02 22:44:48 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-02 22:44:48 +0000 |
commit | ed42f5df7a78414f0caef7a9896be587b6461ec0 (patch) | |
tree | 9697e4807471696fc1ae45bafd75ea0085eed5e8 /sys/arch | |
parent | fafed17abb04ac4166992b1820bc019661a516a3 (diff) |
When stealing an ASID, pass sh_tlb_invalid_asid() the involved ASID
instead of -1.
ok and prod from miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sh/sh/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/pmap.c b/sys/arch/sh/sh/pmap.c index fef63eebbef..a79035a7874 100644 --- a/sys/arch/sh/sh/pmap.c +++ b/sys/arch/sh/sh/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.19 2011/08/09 20:21:44 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.20 2013/03/02 22:44:47 guenther Exp $ */ /* $NetBSD: pmap.c,v 1.55 2006/08/07 23:19:36 tsutsui Exp $ */ /*- @@ -1091,7 +1091,7 @@ __pmap_asid_alloc() pmap->pm_asid = -1; __pmap_asid.hint = asid; /* Invalidate all old ASID entry */ - sh_tlb_invalidate_asid(pmap->pm_asid); + sh_tlb_invalidate_asid(asid); return (__pmap_asid.hint); } |