Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 16:56:56 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192110 - head/sys/powerpc/include
Message-ID:  <200905141656.n4EGuucB096951@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Thu May 14 16:56:56 2009
New Revision: 192110
URL: http://svn.freebsd.org/changeset/base/192110

Log:
  Improve style(9)

Modified:
  head/sys/powerpc/include/cpufunc.h

Modified: head/sys/powerpc/include/cpufunc.h
==============================================================================
--- head/sys/powerpc/include/cpufunc.h	Thu May 14 16:48:25 2009	(r192109)
+++ head/sys/powerpc/include/cpufunc.h	Thu May 14 16:56:56 2009	(r192110)
@@ -71,7 +71,7 @@ mtmsr(register_t value)
 static __inline register_t
 mfmsr(void)
 {
-	register_t	value;
+	register_t value;
 
 	__asm __volatile ("mfmsr %0" : "=r"(value));
 
@@ -88,7 +88,7 @@ mtsrin(vm_offset_t va, register_t value)
 static __inline register_t
 mfsrin(vm_offset_t va)
 {
-	register_t	value;
+	register_t value;
 
 	__asm __volatile ("mfsrin %0,%1" : "=r"(value) : "r"(va));
 
@@ -105,7 +105,7 @@ mtdec(register_t value)
 static __inline register_t
 mfdec(void)
 {
-	register_t	value;
+	register_t value;
 
 	__asm __volatile ("mfdec %0" : "=r"(value));
 
@@ -170,7 +170,7 @@ powerpc_sync(void)
 static __inline register_t
 intr_disable(void)
 {
-	register_t	msr;
+	register_t msr;
 
 	msr = mfmsr();
 	mtmsr(msr & ~PSL_EE);
@@ -187,11 +187,11 @@ intr_restore(register_t msr)
 static __inline struct pcpu *
 powerpc_get_pcpup(void)
 {
-	struct pcpu	*ret;
+	struct pcpu *ret;
 
 	__asm __volatile("mfsprg %0, 0" : "=r"(ret));
 
-	return(ret);
+	return (ret);
 }
 
 #endif /* _KERNEL */



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