Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Fix compile error for non __HAVE_ATOMIC64_...
details: https://anonhg.NetBSD.org/src/rev/2e73b62cdb4f
branches: trunk
changeset: 359820:2e73b62cdb4f
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 25 03:40:29 2022 +0000
description:
Fix compile error for non __HAVE_ATOMIC64_LOADSTORE arch.
diffstat:
sys/dev/pci/ixgbe/ixgbe_netbsd.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 5fabf5d641c3 -r 2e73b62cdb4f sys/dev/pci/ixgbe/ixgbe_netbsd.h
--- a/sys/dev/pci/ixgbe/ixgbe_netbsd.h Tue Jan 25 03:23:05 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_netbsd.h Tue Jan 25 03:40:29 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_netbsd.h,v 1.15 2022/01/25 01:56:22 msaitoh Exp $ */
+/* $NetBSD: ixgbe_netbsd.h,v 1.16 2022/01/25 03:40:29 msaitoh Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -61,9 +61,9 @@
atomic_store_relaxed(&((evp)->ev_count), \
atomic_load_relaxed(&((evp)->ev_count)) + (val))
#else
-#define IXGBE_EVC_LOAD(evp) ((ev)->ev_count))
-#define IXGBE_EVC_STORE(evp, val) ((ev)->ev_count = (val))
-#define IXGBE_EVC_ADD(evp, val) ((ev)->ev_count += (val))
+#define IXGBE_EVC_LOAD(evp) ((evp)->ev_count))
+#define IXGBE_EVC_STORE(evp, val) ((evp)->ev_count = (val))
+#define IXGBE_EVC_ADD(evp, val) ((evp)->ev_count += (val))
#endif
#define IXGBE_EVC_REGADD(hw, stats, regname, evname) \
Home |
Main Index |
Thread Index |
Old Index