svn commit: r209696 - user/nwhitehorn/ps3/powerpc/powerpc
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Jul 4 17:37:28 UTC 2010
Author: nwhitehorn
Date: Sun Jul 4 17:37:28 2010
New Revision: 209696
URL: http://svn.freebsd.org/changeset/base/209696
Log:
Allow multiple platform modules to peacefully coexist.
Modified:
user/nwhitehorn/ps3/powerpc/powerpc/platform.c
Modified: user/nwhitehorn/ps3/powerpc/powerpc/platform.c
==============================================================================
--- 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
mailing list