From nobody Tue Jan 02 01:13:17 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T3vxB0YqJz563Cq; Tue, 2 Jan 2024 01:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3vx967RMz3bP6; Tue, 2 Jan 2024 01:13:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704157997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=he9grLFCVgot1rIIOBBN9E/kMgqsJvB1GeN+RlOz208=; b=KIGBzySzHiUr2O6jsvT/duRO74j+7O3m85vb1TWzxdUgyrghRqwbhU+n5m+MutNxT0zfMr ngrhJ49r7BuE1xPQb15IFSWUZ5QswcUzzLxosl0DYT3PYXIlX8V0Pc5dYcNoTw8+G1l6Lt 6qhs9C34HVSh26+52h5BKeOxy5ZB5LdJ87EBEoeTke4JXUTmCYI/w9COO+qDeyVH0uHIiv DBcJ+lhsEMySS8QnhHx6UsAsoskEx+RsGDjFY32QWEmMD1roM8BJWKylCPs7djviigHXL+ whID05vGmVcYykJpYgsJI4ZmprHEIyiT+blH9j7cC13Yrs0i0308W1UeGDsJaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704157997; a=rsa-sha256; cv=none; b=cEUUVq3EtGNIN8rJRCl4ElgfWXUhj2mZH86SB85kfdbIqmlDopvcbPQrRS0kpunard+i4m UgNKHdyoTT3r7pYwxFkZvW+qhpUHdZmkZz32wLQO30QPoCcA0Dl+lN4///y+icfx0u+E4r 6aM8AisHszCP03L1ozTLUaWWdoR9u5svhFp5L3cgzeSVWRoWruYeL+cqn8HDIkc1fWec8b P08whVsCct+mi5JuCa4HZfhshQHmkK9YZj+T47X60j7g8gaDJXDZ7KsobJrarOatRlRPWl bE12qpITTAgOx7Y4IyB6Z0OAcO7YhyamYbIYFpqNtJ69m2VganR0oAgrgS8N2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704157997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=he9grLFCVgot1rIIOBBN9E/kMgqsJvB1GeN+RlOz208=; b=D1ZwYpUac/jHXZuGLYJMlNolsE+3gSYpgnM60mJf60SrDoJe7Nbk2F+y5vkj95G1xvUCU0 lT0LCx2R3ueMxmOwEYNmT8/eejXR9IVNc/7MJ+BUlDFPTPsphTzuvn4tuHUegjPI7hH5c/ rLW4gUzzW4wcOyfVEZdel+4wTlTRjzT2nTz7zjH61hDPrQvYLcACLqiQwe4XwDOE9PR/6h TbSKZC5oNWJHyV1Jbp1TRtW28S1gA9WSA640XKKdgC8s8PnQT0RZJcTukDtWiis7VsjdB5 IXrHc9nzZQ2hWTMQvhriZsHx6o1QRuO8cdJbb095FvP3DKoPt8IsIiL7wF4EWw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T3vx95CSqzgv8; Tue, 2 Jan 2024 01:13:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4021DHF6055611; Tue, 2 Jan 2024 01:13:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4021DHxW055608; Tue, 2 Jan 2024 01:13:17 GMT (envelope-from git) Date: Tue, 2 Jan 2024 01:13:17 GMT Message-Id: <202401020113.4021DHxW055608@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 10ba3e4ae8ea - stable/13 - mips: Add a return value to cpu_set_upcall() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 10ba3e4ae8eac4d6c8c99326914693305afccf6c Auto-Submitted: auto-generated The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=10ba3e4ae8eac4d6c8c99326914693305afccf6c commit 10ba3e4ae8eac4d6c8c99326914693305afccf6c Author: Mark Johnston AuthorDate: 2024-01-02 00:55:27 +0000 Commit: Mark Johnston CommitDate: 2024-01-02 01:12:45 +0000 mips: Add a return value to cpu_set_upcall() This is a direct commit to stable/13. --- sys/mips/mips/vm_machdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/mips/mips/vm_machdep.c b/sys/mips/mips/vm_machdep.c index 48b5ff405628..5f8c85e23da1 100644 --- a/sys/mips/mips/vm_machdep.c +++ b/sys/mips/mips/vm_machdep.c @@ -408,7 +408,7 @@ cpu_copy_thread(struct thread *td, struct thread *td0) * Set that machine state for performing an upcall that starts * the entry function with the given argument. */ -void +int cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, stack_t *stack) { @@ -440,6 +440,7 @@ cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, * Setup any other CPU-Specific registers (Not MIPS Standard) * that are needed. */ + return (0); } bool