Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2017 13:53:02 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320002 - head/sys/arm/arm
Message-ID:  <201706161353.v5GDr2ig085413@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Fri Jun 16 13:53:02 2017
New Revision: 320002
URL: https://svnweb.freebsd.org/changeset/base/320002

Log:
  Minor style improvements to pmap_remap_vm_attr()
  
  Use correct platform_ function name in the comment and remove
  redundant tabs.

Modified:
  head/sys/arm/arm/pmap-v6.c

Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c	Fri Jun 16 10:16:24 2017	(r320001)
+++ head/sys/arm/arm/pmap-v6.c	Fri Jun 16 13:53:02 2017	(r320002)
@@ -508,7 +508,7 @@ pmap_set_tex(void)
  * Usage rules:
  * - it shall be called after pmap_bootstrap_prepare() and before
  *   cpu_mp_start() (thus only on boot CPU). In practice, it's expected
- *   to be called from platform_attach() or platform_late_init().
+ *   to be called from platform_probe_and_attach() or platform_late_init().
  *
  * - if remapping doesn't change caching mode, or until uncached class
  *   is remapped to any kind of cached one, then no other restriction exists.
@@ -523,11 +523,11 @@ void
 pmap_remap_vm_attr(vm_memattr_t old_attr, vm_memattr_t new_attr)
 {
 	int old_idx, new_idx;
-	
+
 	/* Map VM memattrs to indexes to tex_class table. */
 	old_idx = pte2_attr_tab[(int)old_attr];
 	new_idx = pte2_attr_tab[(int)new_attr];
-	
+
 	/* Replace TEX attribute and apply it. */
 	tex_class[old_idx] = tex_class[new_idx];
 	pmap_set_tex();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706161353.v5GDr2ig085413>