From 4eb54166aa7b81d6898a8fe3529889a114d2a61e Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Sat, 7 Sep 2013 20:52:31 +0000 Subject: [PATCH] Fix error in r252115: space for the softc needs to be allocated. This seemed to be working by chance on most systems. --- sys/powerpc/ofw/ofw_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/ofw/ofw_cpu.c b/sys/powerpc/ofw/ofw_cpu.c index 6fb1126ae3cc..6cc64841cf2f 100644 --- a/sys/powerpc/ofw/ofw_cpu.c +++ b/sys/powerpc/ofw/ofw_cpu.c @@ -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;