svn commit: r209696 - user/nwhitehorn/ps3/powerpc/powerpc
nwhitehorn at FreeBSD.org
Sun Jul 4 17:37:28 UTC 2010
Date: Sun Jul 4 17:37:28 2010
New Revision: 209696
Allow multiple platform modules to peacefully coexist.
--- user/nwhitehorn/ps3/powerpc/powerpc/platform.c Sun Jul 4 12:43:12 2010 (r209695)
+++ user/nwhitehorn/ps3/powerpc/powerpc/platform.c Sun Jul 4 17:37:28 2010 (r209696)
@@ -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