diff options
author | marcel <marcel@FreeBSD.org> | 2005-07-05 17:12:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-07-05 17:12:18 +0000 |
commit | 9c552f7c01059c885fb0604e8fc082ce51f3228a (patch) | |
tree | 2f72c7f76a7204d2211fe4c2d287ecbdbed449f2 /sys/ia64/include/md_var.h | |
parent | 38bf7eadf9f55b6db1943612df38342cb56bf7a4 (diff) | |
download | FreeBSD-src-9c552f7c01059c885fb0604e8fc082ce51f3228a.zip FreeBSD-src-9c552f7c01059c885fb0604e8fc082ce51f3228a.tar.gz |
Enhance ia64_flush_dirty() to handle the case in which td != curthread.
This case is triggered with ptrace(2) and the PT_SETREGS function.
Change the return type of the function to int so that errors can be
passed on to the caller.
Approved by: re (scottl)
Diffstat (limited to 'sys/ia64/include/md_var.h')
-rw-r--r-- | sys/ia64/include/md_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h index 437c2ce..eef4240 100644 --- a/sys/ia64/include/md_var.h +++ b/sys/ia64/include/md_var.h @@ -77,7 +77,7 @@ void cpu_mp_add(u_int, u_int, u_int); int do_ast(struct trapframe *); void ia32_trap(int, struct trapframe *); int ia64_count_cpus(void); -void ia64_flush_dirty(struct thread *, struct _special *); +int ia64_flush_dirty(struct thread *, struct _special *); uint64_t ia64_get_hcdp(void); int ia64_highfp_drop(struct thread *); int ia64_highfp_save(struct thread *); |