Skip to content
Snippets Groups Projects
Commit 72164a6f authored by Gregory Nutt's avatar Gregory Nutt
Browse files

More references to SYS_oneixt vs SYS_on_exit noted by Ken Pettit

parent 113a696f
No related branches found
No related tags found
No related merge requests found
......@@ -100,23 +100,23 @@
#ifdef CONFIG_ARCH_HAVE_VFORK
# define SYS_vfork __SYS_vfork
# define __SYS_atexit (__SYS_vfork+1)
# define __SYS_atexit (__SYS_vfork+1)
#else
# define __SYS_atexit __SYS_vfork
# define __SYS_atexit __SYS_vfork
#endif
#ifdef CONFIG_SCHED_ATEXIT
# define SYS_atexit __SYS_atexit
# define __SYS_onexit (__SYS_atexit+1)
# define __SYS_on_exit (__SYS_atexit+1)
#else
# define __SYS_onexit __SYS_atexit
# define __SYS_on_exit __SYS_atexit
#endif
#ifdef CONFIG_SCHED_ONEXIT
# define SYS_onexit __SYS_onexit
# define __SYS_waitpid (__SYS_onexit+1)
# define SYS_on_exit __SYS_on_exit
# define __SYS_waitpid (__SYS_on_exit+1)
#else
# define __SYS_waitpid __SYS_onexit
# define __SYS_waitpid __SYS_on_exit
#endif
#ifdef CONFIG_SCHED_WAITPID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment