Remove naked attribute from chopstx_exit.

This commit is contained in:
NIIBE Yutaka
2017-06-22 10:04:45 +09:00
parent ca1b22c3eb
commit 80258ba7c7
2 changed files with 1 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
(svc): Ditto. (svc): Ditto.
(chx_wakeup): Set -> for the return value of chx_sched. (chx_wakeup): Set -> for the return value of chx_sched.
(chopstx_mutex_lock, chopstx_cancel): Likewise. (chopstx_mutex_lock, chopstx_cancel): Likewise.
(chopstx_exit): Remove naked attribute.
2017-06-21 NIIBE Yutaka <gniibe@fsij.org> 2017-06-21 NIIBE Yutaka <gniibe@fsij.org>

View File

@@ -1497,12 +1497,6 @@ chopstx_cleanup_pop (int execute)
} }
/*
* We put "naked" attribute to chopstx_exit function. Since it never
* returns, function prologue is not needed.
*/
void chopstx_exit (void *retval) __attribute__ ((naked));
/** /**
* chopstx_exit - Terminate the execution of running thread * chopstx_exit - Terminate the execution of running thread
* @retval: Return value (to be caught by a joining thread) * @retval: Return value (to be caught by a joining thread)