Changeset 371bd7d in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2010-03-27T09:22:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    rcd82bb1 r371bd7d  
    6666#include <ipc/ipc.h>
    6767#include <debug.h>
    68 #include <string.h>
     68#include <str.h>
    6969
    7070#ifdef CONFIG_SMP
     
    9494void kinit(void *arg)
    9595{
    96 
    9796#if defined(CONFIG_SMP) || defined(CONFIG_KCONSOLE)
    9897        thread_t *thread;
     
    184183               
    185184                char namebuf[TASK_NAME_BUFLEN];
    186                 char *name;
    187                
    188                 name = init.tasks[i].name;
     185               
     186                const char *name = init.tasks[i].name;
    189187                if (name[0] == 0)
    190188                        name = "<unknown>";
     
    217215                }
    218216        }
    219        
     217
    220218        /*
    221219         * Run user tasks.
     
    225223                        program_ready(&programs[i]);
    226224        }
    227        
     225
    228226#ifdef CONFIG_KCONSOLE
    229227        if (!stdin) {
Note: See TracChangeset for help on using the changeset viewer.