Changeset 32fffef0 in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2006-08-29T11:06:57Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0fa6044
- Parents:
- c8ea4a8b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
rc8ea4a8b r32fffef0 101 101 * Just a beautification. 102 102 */ 103 if ((t = thread_create(kmp, NULL, TASK, 0, "kmp"))) {103 if ((t = thread_create(kmp, NULL, TASK, THREAD_FLAG_WIRED, "kmp"))) { 104 104 spinlock_lock(&t->lock); 105 t->flags |= X_WIRED;106 105 t->cpu = &cpus[0]; 107 106 spinlock_unlock(&t->lock); … … 127 126 for (i = 0; i < config.cpu_count; i++) { 128 127 129 if ((t = thread_create(kcpulb, NULL, TASK, 0, "kcpulb"))) {128 if ((t = thread_create(kcpulb, NULL, TASK, THREAD_FLAG_WIRED, "kcpulb"))) { 130 129 spinlock_lock(&t->lock); 131 t->flags |= X_WIRED;132 130 t->cpu = &cpus[i]; 133 131 spinlock_unlock(&t->lock);
Note:
See TracChangeset
for help on using the changeset viewer.