Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2024 01:13:17 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 10ba3e4ae8ea - stable/13 - mips: Add a return value to cpu_set_upcall()
Message-ID:  <202401020113.4021DHxW055608@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=10ba3e4ae8eac4d6c8c99326914693305afccf6c

commit 10ba3e4ae8eac4d6c8c99326914693305afccf6c
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-01-02 00:55:27 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401020113.4021DHxW055608>