KNF: put "if (...)" and following statement on separate lines.
This commit is contained in:
parent
1a3cd3af48
commit
6e4737fc77
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.31 2005/01/27 12:35:53 simonb Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.32 2005/02/25 07:09:58 simonb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.31 2005/01/27 12:35:53 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.32 2005/02/25 07:09:58 simonb Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -527,7 +527,8 @@ pmap_growkernel(vaddr_t maxkvaddr)
|
|||
if (!uvm_page_physget(&pg))
|
||||
panic("pmap_growkernel: no memory");
|
||||
}
|
||||
if (!pg) panic("pmap_growkernel: no pages");
|
||||
if (!pg)
|
||||
panic("pmap_growkernel: no pages");
|
||||
pmap_zero_page((paddr_t)pg);
|
||||
|
||||
/* XXX This is based on all phymem being addressable */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: trap.c,v 1.24 2005/01/19 11:41:07 simonb Exp $ */
|
||||
/* $NetBSD: trap.c,v 1.25 2005/02/25 07:09:58 simonb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.24 2005/01/19 11:41:07 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.25 2005/02/25 07:09:58 simonb Exp $");
|
||||
|
||||
#include "opt_altivec.h"
|
||||
#include "opt_ddb.h"
|
||||
|
@ -438,7 +438,8 @@ copyin(const void *udaddr, void *kaddr, size_t len)
|
|||
struct faultbuf env;
|
||||
|
||||
/* For bigger buffers use the faster copy */
|
||||
if (len > 256) return (bigcopyin(udaddr, kaddr, len));
|
||||
if (len > 256)
|
||||
return (bigcopyin(udaddr, kaddr, len));
|
||||
|
||||
if (setfault(&env)) {
|
||||
curpcb->pcb_onfault = 0;
|
||||
|
@ -518,7 +519,8 @@ copyout(const void *kaddr, void *udaddr, size_t len)
|
|||
struct faultbuf env;
|
||||
|
||||
/* For big copies use more efficient routine */
|
||||
if (len > 256) return (bigcopyout(kaddr, udaddr, len));
|
||||
if (len > 256)
|
||||
return (bigcopyout(kaddr, udaddr, len));
|
||||
|
||||
if (setfault(&env)) {
|
||||
curpcb->pcb_onfault = 0;
|
||||
|
|
Loading…
Reference in New Issue