diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-01 22:20:36 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-01 22:20:36 +0000 |
commit | 59e37e11197b0f3b7044ff5b75f4da666c47de0c (patch) | |
tree | 7050a3baa97f737838494eb75ef5f6ba52f8ba95 /sys/arch/octeon/dev/cn30xxfpavar.h | |
parent | 1685361627f3f27ab6bbd97d011e324826561be6 (diff) |
as discussed with uebayasi@ we should only use the "sync" instruction on octeon,
instead of syncs/syncw etc.
so remove the OCTEON_SYNC* macros and use mips_sync() directly.
ok uebayasi@
Diffstat (limited to 'sys/arch/octeon/dev/cn30xxfpavar.h')
-rw-r--r-- | sys/arch/octeon/dev/cn30xxfpavar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/cn30xxfpavar.h b/sys/arch/octeon/dev/cn30xxfpavar.h index 8743d057391..4e5c57b1802 100644 --- a/sys/arch/octeon/dev/cn30xxfpavar.h +++ b/sys/arch/octeon/dev/cn30xxfpavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cn30xxfpavar.h,v 1.2 2013/06/01 21:25:26 jasper Exp $ */ +/* $OpenBSD: cn30xxfpavar.h,v 1.3 2013/06/01 22:20:35 jasper Exp $ */ /* * Copyright (c) 2007 Internet Initiative Japan, Inc. * All rights reserved. @@ -123,7 +123,7 @@ cn30xxfpa_store(uint64_t addr, uint64_t fpapool, uint64_t dwbcount) (fpapool & 0x07ULL) << 40 | (addr & 0xffffffffffULL); - OCTEON_SYNCWS; + mips_sync(); octeon_xkphys_write_8(ptr, (dwbcount & 0x0ffULL)); } |