aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@FreeBSD.org>2009-05-14 16:56:56 +0000
committerRafal Jaworowski <raj@FreeBSD.org>2009-05-14 16:56:56 +0000
commita72778d6faa695b2762f6bfeb3f067b24a916fb7 (patch)
treeb1b9e86c3911282f5f9915940cf705027c4f89ff
parent7ad9c533ef2daf7150841d32dd40bf75a0fb37ae (diff)
downloadsrc-a72778d6faa695b2762f6bfeb3f067b24a916fb7.tar.gz
src-a72778d6faa695b2762f6bfeb3f067b24a916fb7.zip
Improve style(9)
Notes
Notes: svn path=/head/; revision=192110
-rw-r--r--sys/powerpc/include/cpufunc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index 9cdaba028319..2bf1161a29f9 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -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 */