Author: nwhitehorn
Date: Sat Sep  7 20:52:31 2013
New Revision: 255378
URL: http://svnweb.freebsd.org/changeset/base/255378

Log:
  Fix error in r252115: space for the softc needs to be allocated. This
  seemed to be working by chance on most systems.

Modified:
  head/sys/powerpc/ofw/ofw_cpu.c

Modified: head/sys/powerpc/ofw/ofw_cpu.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_cpu.c      Sat Sep  7 20:25:22 2013        
(r255377)
+++ head/sys/powerpc/ofw/ofw_cpu.c      Sat Sep  7 20:52:31 2013        
(r255378)
@@ -158,7 +158,7 @@ static device_method_t ofw_cpu_methods[]
 static driver_t ofw_cpu_driver = {
        "cpu",
        ofw_cpu_methods,
-       0
+       sizeof(struct ofw_cpu_softc)
 };
 
 static devclass_t ofw_cpu_devclass;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to