Date: Mon, 2 Aug 2010 12:14:17 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r210754 - user/nwhitehorn/ps3/powerpc/powerpc Message-ID: <201008021214.o72CEHOP018522@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Mon Aug 2 12:14:17 2010 New Revision: 210754 URL: http://svn.freebsd.org/changeset/base/210754 Log: Leftover change from the old branch to make multi-platform kernels actually work. The method table of the platform KOBJ needs to be reset in order to reuse it. Modified: user/nwhitehorn/ps3/powerpc/powerpc/platform.c Modified: user/nwhitehorn/ps3/powerpc/powerpc/platform.c ============================================================================== --- user/nwhitehorn/ps3/powerpc/powerpc/platform.c Mon Aug 2 12:13:33 2010 (r210753) +++ user/nwhitehorn/ps3/powerpc/powerpc/platform.c Mon Aug 2 12:14:17 2010 (r210754) @@ -154,9 +154,10 @@ platform_probe_and_attach() } /* - * We can't free the KOBJ, since it is static. Luckily, - * this has no ill effects since it gets reset every time. + * We can't free the KOBJ, since it is static. Reset the ops + * member of this class so that we can come back later. */ + platp->ops = NULL; } if (plat_def_impl == NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008021214.o72CEHOP018522>