svn commit: r255378 - head/sys/powerpc/ofw
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Sep 7 20:52:32 UTC 2013
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;
More information about the svn-src-all
mailing list