Module Name: src
Committed By: skrll
Date: Sat Apr 25 14:45:06 UTC 2009
Modified Files:
src/sys/arch/hppa/hppa [nick-hppapmap]: pmap.c
Log Message:
Wrap long lines. KNF.
To generate a diff of this commit:
cvs rdiff -u -r1.43.8.47 -r1.43.8.48 src/sys/arch/hppa/hppa/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/hppa/pmap.c
diff -u src/sys/arch/hppa/hppa/pmap.c:1.43.8.47 src/sys/arch/hppa/hppa/pmap.c:1.43.8.48
--- src/sys/arch/hppa/hppa/pmap.c:1.43.8.47 Sat Apr 25 13:54:07 2009
+++ src/sys/arch/hppa/hppa/pmap.c Sat Apr 25 14:45:06 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.43.8.47 2009/04/25 13:54:07 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.43.8.48 2009/04/25 14:45:06 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.43.8.47 2009/04/25 13:54:07 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.43.8.48 2009/04/25 14:45:06 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -766,8 +766,8 @@
pmap_hpt = 0;
} else
DPRINTF(PDB_INIT,
- ("%s: HPT installed for %ld entries @ 0x%x\n", __func__,
- pmap_hptsize / sizeof(struct hpt_entry),
+ ("%s: HPT installed for %ld entries @ 0x%x\n",
+ __func__, pmap_hptsize / sizeof(struct hpt_entry),
(int)addr));
}
#endif
@@ -1513,7 +1513,8 @@
volatile pt_entry_t *pde;
pt_entry_t pte = 0;
- DPRINTF(PDB_FOLLOW|PDB_PMAP, ("%s(%p, 0x%x)\n", __func__, pmap, (int)va));
+ DPRINTF(PDB_FOLLOW|PDB_PMAP, ("%s(%p, 0x%x)\n", __func__, pmap,
+ (int)va));
PMAP_LOCK(pmap);
if ((pde = pmap_pde_get(pmap->pm_pdir, va))) {
@@ -1781,7 +1782,8 @@
if (prot & PMAP_NC)
pg->mdpage.pvh_attrs |= PVF_NC;
else
- pmap_check_alias(pg, pg->mdpage.pvh_list, va, &pte);
+ pmap_check_alias(pg, pg->mdpage.pvh_list, va,
+ &pte);
mutex_exit(&pg->mdpage.pvh_lock);
}
}
@@ -1860,10 +1862,9 @@
pve = pmap_pv_remove(pg, pmap, va);
- if ((pg->mdpage.pvh_attrs & PVF_NC) == 0) {
+ if ((pg->mdpage.pvh_attrs & PVF_NC) == 0)
pmap_check_alias(pg, pg->mdpage.pvh_list, va,
NULL);
- }
pg->mdpage.pvh_attrs &= ~PVF_NC;