Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Consistently right-justify backslash in macro defin...
details: https://anonhg.NetBSD.org/src/rev/f12f2ed703da
branches: trunk
changeset: 959956:f12f2ed703da
user: rin <rin%NetBSD.org@localhost>
date: Tue Mar 02 01:15:15 2021 +0000
description:
Consistently right-justify backslash in macro definition.
No binary changes.
diffstat:
sys/kern/kern_mutex.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 17ba0bf96a54 -r f12f2ed703da sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c Tue Mar 02 01:02:12 2021 +0000
+++ b/sys/kern/kern_mutex.c Tue Mar 02 01:15:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_mutex.c,v 1.95 2020/12/15 08:35:52 skrll Exp $ */
+/* $NetBSD: kern_mutex.c,v 1.96 2021/03/02 01:15:15 rin Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
#define __MUTEX_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.95 2020/12/15 08:35:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.96 2021/03/02 01:15:15 rin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -160,7 +160,7 @@
struct cpu_info *x__ci = curcpu(); \
int s = x__ci->ci_mtx_oldspl; \
__insn_barrier(); \
- if (++(x__ci->ci_mtx_count) == 0) \
+ if (++(x__ci->ci_mtx_count) == 0) \
splx(s); \
} while (/* CONSTCOND */ 0)
Home |
Main Index |
Thread Index |
Old Index