Changeset 5a95b25 in mainline for generic/src/main/kinit.c
- Timestamp:
- 2005-12-13T11:23:14Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 91ef0d95
- Parents:
- 5bb8e45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/main/kinit.c
r5bb8e45 r5a95b25 85 85 * Just a beautification. 86 86 */ 87 if ( t = thread_create(kmp, NULL, TASK, 0)) {87 if ((t = thread_create(kmp, NULL, TASK, 0))) { 88 88 spinlock_lock(&t->lock); 89 89 t->flags |= X_WIRED; … … 113 113 for (i = 0; i < config.cpu_count; i++) { 114 114 115 if ( t = thread_create(kcpulb, NULL, TASK, 0)) {115 if ((t = thread_create(kcpulb, NULL, TASK, 0))) { 116 116 spinlock_lock(&t->lock); 117 117 t->flags |= X_WIRED; … … 134 134 * Create kernel console. 135 135 */ 136 if ( t = thread_create(kconsole, "kconsole", TASK, 0))136 if ((t = thread_create(kconsole, "kconsole", TASK, 0))) 137 137 thread_ready(t); 138 138 else panic("thread_create/kconsole\n");
Note:
See TracChangeset
for help on using the changeset viewer.