Module Name:    src
Committed By:   riastradh
Date:           Mon Jun 12 21:08:34 UTC 2017

Modified Files:
        src/sys/kern: subr_localcount.c

Log Message:
Add heading comment for private localcount_adjust subroutine.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/subr_localcount.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_localcount.c
diff -u src/sys/kern/subr_localcount.c:1.5 src/sys/kern/subr_localcount.c:1.6
--- src/sys/kern/subr_localcount.c:1.5	Mon Jun 12 21:07:14 2017
+++ src/sys/kern/subr_localcount.c	Mon Jun 12 21:08:34 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_localcount.c,v 1.5 2017/06/12 21:07:14 riastradh Exp $	*/
+/*	$NetBSD: subr_localcount.c,v 1.6 2017/06/12 21:08:34 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.5 2017/06/12 21:07:14 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.6 2017/06/12 21:08:34 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/localcount.h>
@@ -167,6 +167,12 @@ localcount_xc(void *cookie0, void *cooki
 	mutex_exit(interlock);
 }
 
+/*
+ * localcount_adjust(lc, delta)
+ *
+ *	Add delta -- positive or negative -- to the local CPU's count
+ *	for lc.
+ */
 static void
 localcount_adjust(struct localcount *lc, int delta)
 {

Reply via email to