From owner-svn-src-all@FreeBSD.ORG Sat Sep 7 20:52:32 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A68A203; Sat, 7 Sep 2013 20:52:32 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0843A24EA; Sat, 7 Sep 2013 20:52:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r87KqVCI074415; Sat, 7 Sep 2013 20:52:31 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r87KqVqF074414; Sat, 7 Sep 2013 20:52:31 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201309072052.r87KqVqF074414@svn.freebsd.org> From: Nathan Whitehorn Date: Sat, 7 Sep 2013 20:52:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255378 - head/sys/powerpc/ofw X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 20:52:32 -0000 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;