space nits.

This commit is contained in:
tsutsui 2006-06-10 12:35:01 +00:00
parent 58459b2d06
commit 8ff2abc2ad
7 changed files with 23 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.c,v 1.30 2006/05/14 21:55:10 elad Exp $ */
/* $NetBSD: bus.c,v 1.31 2006/06/10 12:35:01 tsutsui Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.30 2006/05/14 21:55:10 elad Exp $");
__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.31 2006/06/10 12:35:01 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -565,7 +565,7 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map, bus_addr_t offset,
case BUS_DMASYNC_PREREAD:
end = start + minlen;
preboundary = start & ~mips_dcache_align_mask;
firstboundary = (start + mips_dcache_align_mask)
firstboundary = (start + mips_dcache_align_mask)
& ~mips_dcache_align_mask;
lastboundary = end & ~mips_dcache_align_mask;
if (preboundary < start && preboundary < lastboundary)

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.69 2006/05/31 13:20:42 tsutsui Exp $ */
/* $NetBSD: machdep.c,v 1.70 2006/06/10 12:35:01 tsutsui Exp $ */
/*
* Copyright (c) 2006 Izumi Tsutsui.
@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.69 2006/05/31 13:20:42 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.70 2006/06/10 12:35:01 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -709,7 +709,7 @@ cpu_intr(uint32_t status, uint32_t cause, uint32_t pc, uint32_t ipending)
#if 0 /* MIPS_SR_INT_IE is enabled above */
_splset(MIPS_SR_INT_IE);
#endif
} else {
} else {
/*
* If there are any pending interrputs,
* clear MIPS_SR_INT_IE in cf.sr so that

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_dma.c,v 1.4 2006/04/16 16:39:36 tsutsui Exp $ */
/* $NetBSD: bus_dma.c,v 1.5 2006/06/10 12:42:37 tsutsui Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.4 2006/04/16 16:39:36 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.5 2006/06/10 12:42:37 tsutsui Exp $");
/* #define BUS_DMA_DEBUG */
#include <sys/param.h>
@ -421,7 +421,7 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map, bus_addr_t offset,
* PREREAD -- Invalidate D-cache. Note we might have
* to also write-back here if we have to use an Index
* op, or if the buffer start/end is not cache-line aligned.
*
*
* PREWRITE -- Write-back the D-cache. If we have to use
* an Index op, we also have to invalidate. Note that if
* we are doing PREREAD|PREWRITE, we can collapse everything
@ -499,7 +499,7 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map, bus_addr_t offset,
offset = 0;
len -= minlen;
continue;
}
}
start = vaddr + offset;
switch (ops) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.1 2005/12/29 15:20:08 tsutsui Exp $ */
/* $NetBSD: clock.c,v 1.2 2006/06/10 12:42:37 tsutsui Exp $ */
/*-
* Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.1 2005/12/29 15:20:08 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.2 2006/06/10 12:42:37 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -180,7 +180,7 @@ delay(unsigned int n)
if (cur < last)
delta += ((curcpu()->ci_cycles_per_hz - last) + cur);
else
delta += (cur - last);
delta += (cur - last);
last = cur;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tr2a_intr.c,v 1.1 2005/12/29 15:20:08 tsutsui Exp $ */
/* $NetBSD: tr2a_intr.c,v 1.2 2006/06/10 12:42:37 tsutsui Exp $ */
/*-
* Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.1 2005/12/29 15:20:08 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.2 2006/06/10 12:42:37 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -370,7 +370,7 @@ tr2a_initclocks(void)
fixtick = tickfix;
#endif
if (tickfix) {
int ftp;
int ftp;
ftp = min(ffs(tickfix), ffs(hz));
tickfix >>= ftp - 1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rd.c,v 1.75 2006/05/14 21:55:10 elad Exp $ */
/* $NetBSD: rd.c,v 1.76 2006/06/10 12:42:37 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -117,7 +117,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.75 2006/05/14 21:55:10 elad Exp $");
__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.76 2006/06/10 12:42:37 tsutsui Exp $");
#include "opt_useleds.h"
#include "rnd.h"
@ -1073,7 +1073,7 @@ rderror(int unit)
* First conjure up the block number at which the error occurred.
* Note that not all errors report a block number, in that case
* we just use b_blkno.
*/
*/
bp = BUFQ_PEEK(rs->sc_tab);
pbn = rs->sc_dkdev.dk_label->d_partitions[rdpart(bp->b_dev)].p_offset;
if ((sp->c_fef & FEF_CU) || (sp->c_fef & FEF_DR) ||

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_bootstrap.c,v 1.13 2005/12/11 12:18:23 christos Exp $ */
/* $NetBSD: pmap_bootstrap.c,v 1.14 2006/06/10 12:42:37 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.13 2005/12/11 12:18:23 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.14 2006/06/10 12:42:37 tsutsui Exp $");
#include <sys/param.h>
@ -286,9 +286,9 @@ pmap_bootstrap(paddr_t nextpa, paddr_t firstpa)
*ste++ = SG_NV;
*pte++ = PG_NV;
}
/*
/*
* Initialize the last one to point to Sysptmap.
*/
*/
*ste = kptmpa | SG_RW | SG_V;
*pte = kptmpa | PG_RW | PG_CI | PG_V;
}