Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Add small comment.



details:   https://anonhg.NetBSD.org/src/rev/40721a665271
branches:  trunk
changeset: 766434:40721a665271
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Jun 22 09:28:08 2011 +0000

description:
Add small comment.

diffstat:

 sys/arch/x86/x86/cpu.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r fcd69a80fd87 -r 40721a665271 sys/arch/x86/x86/cpu.c
--- a/sys/arch/x86/x86/cpu.c    Wed Jun 22 08:49:54 2011 +0000
+++ b/sys/arch/x86/x86/cpu.c    Wed Jun 22 09:28:08 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.88 2011/06/12 03:35:50 rmind Exp $   */
+/*     $NetBSD: cpu.c,v 1.89 2011/06/22 09:28:08 jruoho Exp $  */
 
 /*-
  * Copyright (c) 2000, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.88 2011/06/12 03:35:50 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.89 2011/06/22 09:28:08 jruoho Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mpbios.h"                /* for MPDEBUG */
@@ -448,6 +448,11 @@
                );
        }
 
+       /*
+        * Postpone the "cpufeaturebus" scan.
+        * It is safe to scan the pseudo-bus
+        * only after all CPUs have attached.
+        */
        (void)config_defer(self, cpu_defer);
 }
 



Home | Main Index | Thread Index | Old Index