summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2016-10-25 08:54:28 -0500
committerAndrew Boie <andrew.p.boie@intel.com>2016-10-26 17:03:12 +0000
commite2626152801f1a0de955f8b63ef79c223645e996 (patch)
tree1dc4f7de99c2964cfefada0765fcce6693f1ba7c /kernel
parent749d153afa813c04c911dff2245ecd307c9e7af4 (diff)
unified: Remove k_thread_abort_handler() support
The new kernel doesn't support the thread abort handler concept, so only the legacy API for this capability is needed. Change-Id: Ie809092e73b784504c3d298911d216bed8dd8993 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/unified/thread_abort.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/unified/thread_abort.c b/kernel/unified/thread_abort.c
index 501940489..ebe93ab43 100644
--- a/kernel/unified/thread_abort.c
+++ b/kernel/unified/thread_abort.c
@@ -50,7 +50,9 @@ void k_thread_abort(k_tid_t thread)
}
#endif
-void k_thread_abort_handler_set(void (*func)(void))
+/* legacy API */
+
+void task_abort_handler_set(void (*func)(void))
{
_current->fn_abort = func;
}