Remove naked attribute from chopstx_exit.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
(svc): Ditto.
|
||||
(chx_wakeup): Set -> for the return value of chx_sched.
|
||||
(chopstx_mutex_lock, chopstx_cancel): Likewise.
|
||||
(chopstx_exit): Remove naked attribute.
|
||||
|
||||
2017-06-21 NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
|
||||
@@ -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
|
||||
* @retval: Return value (to be caught by a joining thread)
|
||||
|
||||
Reference in New Issue
Block a user