Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 20:35:35 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9592 for review
Message-ID:  <200204120335.g3C3ZZU22826@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9592

Change 9592 by peter@peter_thunder on 2002/04/11 20:35:14

	Note to self: do not use variables before they are initialized.

Affected files ...

... //depot/projects/ia64/sys/ia64/ia64/machdep.c#24 edit

Differences ...

==== //depot/projects/ia64/sys/ia64/ia64/machdep.c#24 (text+ko) ====

@@ -669,7 +669,6 @@
 	 */
 	pcpup = (struct pcpu *) pmap_steal_memory(PAGE_SIZE);
 	pcpu_init(pcpup, 0, PAGE_SIZE);
-	pcpup->pc_current_pmap = kernel_pmap;
 	ia64_set_k4((u_int64_t) pcpup);
 	PCPU_SET(curthread, &thread0);
 
@@ -695,6 +694,7 @@
 	 * Initialize the virtual memory system.
 	 */
 	pmap_bootstrap();
+	pcpup->pc_current_pmap = kernel_pmap;
 
 	/*
 	 * Initialize debuggers, and break into them if appropriate.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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