git: 10ba3e4ae8ea - stable/13 - mips: Add a return value to cpu_set_upcall()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jan 2024 01:13:17 UTC
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