svn commit: r210754 - user/nwhitehorn/ps3/powerpc/powerpc
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Aug 2 12:14:17 UTC 2010
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)
More information about the svn-src-user
mailing list