> On 16 Jun 2017, at 14:53, Zbigniew Bodek <z...@freebsd.org> wrote: > > 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().
That was correct. The armv6 SoC code should be using PLATFORM and implement the platform_attach() method. It’s a bug the Marvell code doesn’t. Andrew _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"