summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-18 16:15:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-18 16:15:20 -0600
commit2d32b627f6f91e9f70ea20a481adf91dd8d27e99 (patch)
tree6ce126f0017af4d8cf269b433ca7087b655f7d11 /nuttx/arch/x86
parent032e040edbb467aa1137f8f7b3b9442579589ae1 (diff)
downloadnuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.gz
nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.bz2
nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.zip
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
Diffstat (limited to 'nuttx/arch/x86')
-rw-r--r--nuttx/arch/x86/src/common/up_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/x86/src/common/up_exit.c b/nuttx/arch/x86/src/common/up_exit.c
index 2aa21f352..9b0c0cbe1 100644
--- a/nuttx/arch/x86/src/common/up_exit.c
+++ b/nuttx/arch/x86/src/common/up_exit.c
@@ -153,7 +153,7 @@ void _exit(int status)
/* Destroy the task at the head of the ready to run list. */
- (void)task_deletecurrent();
+ (void)task_exit();
/* Now, perform the context switch to the new ready-to-run task at the
* head of the list.