Subversion Repositories HelenOS

Rev

Rev 2089 | Rev 2223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2089 Rev 2118
Line 116... Line 116...
116
     */
116
     */
117
    cpu_list();
117
    cpu_list();
118
 
118
 
119
#ifdef CONFIG_SMP
119
#ifdef CONFIG_SMP
120
    if (config.cpu_count > 1) {
120
    if (config.cpu_count > 1) {
121
        int i;
121
        unsigned int i;
122
       
122
       
123
        /*
123
        /*
124
         * For each CPU, create its load balancing thread.
124
         * For each CPU, create its load balancing thread.
125
         */
125
         */
126
        for (i = 0; i < config.cpu_count; i++) {
126
        for (i = 0; i < config.cpu_count; i++) {
Line 144... Line 144...
144
    arch_post_smp_init();
144
    arch_post_smp_init();
145
 
145
 
146
    /*
146
    /*
147
     * Create kernel console.
147
     * Create kernel console.
148
     */
148
     */
149
    t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole", false);
149
    t = thread_create(kconsole, (void *) "kconsole", TASK, 0, "kconsole", false);
150
    if (t)
150
    if (t)
151
        thread_ready(t);
151
        thread_ready(t);
152
    else
152
    else
153
        panic("thread_create/kconsole\n");
153
        panic("thread_create/kconsole\n");
154
 
154