From owner-svn-src-head@FreeBSD.ORG Fri Feb 27 15:05:21 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38FB588F; Fri, 27 Feb 2015 15:05:21 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2448C856; Fri, 27 Feb 2015 15:05:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1RF5Lil029293; Fri, 27 Feb 2015 15:05:21 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1RF5KhX029292; Fri, 27 Feb 2015 15:05:21 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201502271505.t1RF5KhX029292@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Fri, 27 Feb 2015 15:05:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279358 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 15:05:21 -0000 Author: andrew Date: Fri Feb 27 15:05:20 2015 New Revision: 279358 URL: https://svnweb.freebsd.org/changeset/base/279358 Log: Fix sched_ule on sparc64, gcc complains sched_random is not a correct prototype. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ============================================================================== --- head/sys/kern/sched_ule.c Fri Feb 27 12:40:44 2015 (r279357) +++ head/sys/kern/sched_ule.c Fri Feb 27 15:05:20 2015 (r279358) @@ -364,7 +364,7 @@ SDT_PROBE_DEFINE2(sched, , , surrender, * both positive and negative values from it by shifting the value * right. */ -static int sched_random() +static int sched_random(void) { int rnd, *rndptr; rndptr = DPCPU_PTR(randomval);