Use rtems_task_exit()

Update #3530.
Update #3533.
This commit is contained in:
Sebastian Huber
2018-10-02 10:22:15 +02:00
parent e50e3f7087
commit f004b2b8dc
23 changed files with 38 additions and 39 deletions

View File

@@ -908,7 +908,7 @@ ata_queue_task(rtems_task_argument arg)
default:
#if ATA_DEBUG
ata_printf("ata_queue_task: internal error\n");
rtems_task_delete (RTEMS_SELF);
rtems_task_exit();
#endif
rtems_fatal_error_occurred(RTEMS_INTERNAL_ERROR);
break;