Fix error in r252115: space for the softc needs to be allocated. This

seemed to be working by chance on most systems.
This commit is contained in:
Nathan Whitehorn 2013-09-07 20:52:31 +00:00
parent 452262c8ea
commit 4eb54166aa

View File

@ -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;