Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2009 00:15:53 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r197335 - in stable/7/sys: . contrib/pf sparc64/sparc64
Message-ID:  <200909200015.n8K0Fr7o038903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Sep 20 00:15:52 2009
New Revision: 197335
URL: http://svn.freebsd.org/changeset/base/197335

Log:
  MFC: r191980
  
  - Fix style.
  - Use __FBSDID.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/sparc64/sparc64/vm_machdep.c

Modified: stable/7/sys/sparc64/sparc64/vm_machdep.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/vm_machdep.c	Sat Sep 19 21:46:12 2009	(r197334)
+++ stable/7/sys/sparc64/sparc64/vm_machdep.c	Sun Sep 20 00:15:52 2009	(r197335)
@@ -39,23 +39,26 @@
  *
  *	from: @(#)vm_machdep.c	7.3 (Berkeley) 5/13/91
  *	Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * 	from: FreeBSD: src/sys/i386/i386/vm_machdep.c,v 1.167 2001/07/12
- * $FreeBSD$
+ *	from: FreeBSD: src/sys/i386/i386/vm_machdep.c,v 1.167 2001/07/12
  */
 
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
 #include "opt_pmap.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
-#include <sys/proc.h>
 #include <sys/bio.h>
 #include <sys/buf.h>
 #include <sys/kernel.h>
 #include <sys/linker_set.h>
+#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/mutex.h>
+#include <sys/proc.h>
 #include <sys/sf_buf.h>
+#include <sys/sched.h>
 #include <sys/sysctl.h>
 #include <sys/unistd.h>
 #include <sys/vmmeter.h>
@@ -73,12 +76,12 @@
 #include <vm/uma.h>
 #include <vm/uma_int.h>
 
-#include <machine/cache.h>
 #include <machine/bus.h>
+#include <machine/cache.h>
 #include <machine/cpu.h>
 #include <machine/fp.h>
-#include <machine/fsr.h>
 #include <machine/frame.h>
+#include <machine/fsr.h>
 #include <machine/md_var.h>
 #include <machine/ofw_machdep.h>
 #include <machine/ofw_mem.h>
@@ -94,7 +97,7 @@ static void	sf_buf_init(void *arg);
 SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL);
 
 /*
- * Expanded sf_freelist head. Really an SLIST_HEAD() in disguise, with the
+ * Expanded sf_freelist head.  Really an SLIST_HEAD() in disguise, with the
  * sf_freelist head with the sf_lock mutex.
  */
 static struct {
@@ -124,11 +127,13 @@ cpu_exit(struct thread *td)
 void
 cpu_thread_exit(struct thread *td)
 {
+
 }
 
 void
 cpu_thread_clean(struct thread *td)
 {
+
 }
 
 void
@@ -146,16 +151,19 @@ cpu_thread_alloc(struct thread *td)
 void
 cpu_thread_free(struct thread *td)
 {
+
 }
- 
+
 void
 cpu_thread_swapin(struct thread *td)
 {
+
 }
 
 void
 cpu_thread_swapout(struct thread *td)
 {
+
 }
 
 void
@@ -328,6 +336,7 @@ cpu_reset(void)
 		0,
 		(cell_t)bspec
 	};
+
 	if ((chosen = OF_finddevice("/chosen")) != 0) {
 		if (OF_getprop(chosen, "bootpath", bspec, sizeof(bspec)) == -1)
 			bspec[0] = '\0';
@@ -392,7 +401,7 @@ sf_buf_init(void *arg)
 }
 
 /*
- * Get an sf_buf from the freelist. Will block if none are available.
+ * Get an sf_buf from the freelist.  Will block if none are available.
  */
 struct sf_buf *
 sf_buf_alloc(struct vm_page *m, int flags)
@@ -411,7 +420,7 @@ sf_buf_alloc(struct vm_page *m, int flag
 		sf_buf_alloc_want--;
 
 		/*
-		 * If we got a signal, don't risk going back to sleep. 
+		 * If we got a signal, don't risk going back to sleep.
 		 */
 		if (error)
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909200015.n8K0Fr7o038903>