[rtems-libbsd commit] Avoid usage of stack_t type

Sebastian Huber sebh at rtems.org
Fri Sep 20 14:16:45 UTC 2013


Module:    rtems-libbsd
Branch:    master
Commit:    e3dd7a480e45224884bf62393ebd258b254bbbaa
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=e3dd7a480e45224884bf62393ebd258b254bbbaa

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep 20 15:05:01 2013 +0200

Avoid usage of stack_t type

---

 freebsd/sys/proc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/freebsd/sys/proc.h b/freebsd/sys/proc.h
index 04022ee..43c2044 100644
--- a/freebsd/sys/proc.h
+++ b/freebsd/sys/proc.h
@@ -889,8 +889,10 @@ void	cpu_fork(struct thread *, struct proc *, struct thread *, int);
 void	cpu_set_fork_handler(struct thread *, void (*)(void *), void *);
 void	cpu_set_syscall_retval(struct thread *, int);
 void	cpu_set_upcall(struct thread *td, struct thread *td0);
+#ifndef __rtems__
 void	cpu_set_upcall_kse(struct thread *, void (*)(void *), void *,
 	    stack_t *);
+#endif /* __rtems__ */
 int	cpu_set_user_tls(struct thread *, void *tls_base);
 void	cpu_thread_alloc(struct thread *);
 void	cpu_thread_clean(struct thread *);




More information about the vc mailing list