Date: Sat, 7 Sep 2013 20:52:31 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255378 - head/sys/powerpc/ofw Message-ID: <201309072052.r87KqVqF074414@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309072052.r87KqVqF074414>