Changeset 371bd7d in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2010-03-27T09:22:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
rcd82bb1 r371bd7d 66 66 #include <ipc/ipc.h> 67 67 #include <debug.h> 68 #include <str ing.h>68 #include <str.h> 69 69 70 70 #ifdef CONFIG_SMP … … 94 94 void kinit(void *arg) 95 95 { 96 97 96 #if defined(CONFIG_SMP) || defined(CONFIG_KCONSOLE) 98 97 thread_t *thread; … … 184 183 185 184 char namebuf[TASK_NAME_BUFLEN]; 186 char *name; 187 188 name = init.tasks[i].name; 185 186 const char *name = init.tasks[i].name; 189 187 if (name[0] == 0) 190 188 name = "<unknown>"; … … 217 215 } 218 216 } 219 217 220 218 /* 221 219 * Run user tasks. … … 225 223 program_ready(&programs[i]); 226 224 } 227 225 228 226 #ifdef CONFIG_KCONSOLE 229 227 if (!stdin) {
Note:
See TracChangeset
for help on using the changeset viewer.