svn commit: r223598 - projects/pseries/powerpc/pseries
Andreas Tobler
andreast at FreeBSD.org
Mon Jun 27 15:13:12 UTC 2011
Author: andreast
Date: Mon Jun 27 15:13:12 2011
New Revision: 223598
URL: http://svn.freebsd.org/changeset/base/223598
Log:
Fix style(9) issues.
Modified:
projects/pseries/powerpc/pseries/mmu_phyp.c
Modified: projects/pseries/powerpc/pseries/mmu_phyp.c
==============================================================================
--- projects/pseries/powerpc/pseries/mmu_phyp.c Mon Jun 27 13:58:24 2011 (r223597)
+++ projects/pseries/powerpc/pseries/mmu_phyp.c Mon Jun 27 15:13:12 2011 (r223598)
@@ -99,7 +99,7 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t
uint64_t final_pteg_count = 0;
char buf[8];
uint32_t prop[2];
- uint32_t nptlp, shift = 0, slb_encoding = 0;
+ uint32_t nptlp, shift = 0, slb_encoding = 0;
phandle_t dev, node, root;
int idx, len, res;
@@ -123,7 +123,7 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t
break;
node = OF_peer(node);
}
-
+
res = OF_getprop(node, "ibm,pft-size", prop, sizeof(prop));
if (res <= 0)
panic("mmu_phyp: unknown PFT size");
@@ -134,16 +134,18 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t
moea64_pteg_count = final_pteg_count / sizeof(struct lpteg);
- /* Scan the large page size property for PAPR compatible machines.
- See PAPR D.5 Changes to Section 5.1.4, 'CPU Node Properties'
- for the encoding of the property.
- */
+ /*
+ * Scan the large page size property for PAPR compatible machines.
+ * See PAPR D.5 Changes to Section 5.1.4, 'CPU Node Properties'
+ * for the encoding of the property.
+ */
len = OF_getproplen(node, "ibm,segment-page-sizes");
if (len > 0) {
- /* We have to use a variable length array on the stack
- since we have very limited stack space.
- */
+ /*
+ * We have to use a variable length array on the stack
+ * since we have very limited stack space.
+ */
cell_t arr[len/sizeof(cell_t)];
res = OF_getprop(node, "ibm,segment-page-sizes", &arr,
sizeof(arr));
More information about the svn-src-projects
mailing list