diff options
Diffstat (limited to 'src/sys')
| -rw-r--r-- | src/sys/init/init_main.C | 7 | ||||
| -rw-r--r-- | src/sys/vfs/vfs_main.C | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/sys/init/init_main.C b/src/sys/init/init_main.C index 31ab57ad9..c446e4bcf 100644 --- a/src/sys/init/init_main.C +++ b/src/sys/init/init_main.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -36,6 +38,9 @@ void* vfs_main(void*); void* init_main(void* unused) { + // Detach this task from the parent + task_detach(); + tid_t tidrc = 0; barrier_t l_barrier; barrier_init(&l_barrier,2); diff --git a/src/sys/vfs/vfs_main.C b/src/sys/vfs/vfs_main.C index 291005945..bf31df680 100644 --- a/src/sys/vfs/vfs_main.C +++ b/src/sys/vfs/vfs_main.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2014 */ +/* Contributors Listed Below - COPYRIGHT 2010,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -59,6 +61,9 @@ struct VfsEntry void* vfs_main(void* i_barrier) { + // Detach this task from the parent + task_detach(); + barrier_t * barrier = (barrier_t *)i_barrier; // Create message queue, register with kernel. msg_q_t vfsMsgQ = msg_q_create(); |

