Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2010 15:28:58 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r202372 - stable/7/sys/boot/sparc64/loader
Message-ID:  <201001151528.o0FFSw86012277@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Fri Jan 15 15:28:58 2010
New Revision: 202372
URL: http://svn.freebsd.org/changeset/base/202372

Log:
  MFC: r200946
  
  Execute the cleanup handlers before jumping to the kernel just
  like the other architectures do.

Modified:
  stable/7/sys/boot/sparc64/loader/main.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/boot/sparc64/loader/main.c
==============================================================================
--- stable/7/sys/boot/sparc64/loader/main.c	Fri Jan 15 15:28:57 2010	(r202371)
+++ stable/7/sys/boot/sparc64/loader/main.c	Fri Jan 15 15:28:58 2010	(r202372)
@@ -387,6 +387,8 @@ __elfN(exec)(struct preloaded_file *fp)
 	pmap_print_tlb_sun4u();
 #endif
 
+	dev_cleanup();
+
 	entry = e->e_entry;
 
 	OF_release((void *)heapva, HEAPSZ);



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