Rev 413 | Rev 452 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 413 | Rev 430 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | #ifdef __SMP__ |
69 | #ifdef __SMP__ |
70 | if (config.cpu_count > 1) { |
70 | if (config.cpu_count > 1) { |
71 | /* |
71 | /* |
72 | * Create the kmp thread and wait for its completion. |
72 | * Create the kmp thread and wait for its completion. |
73 | * cpu1 through cpuN-1 will come up consecutively and |
73 | * cpu1 through cpuN-1 will come up consecutively and |
74 | * not mess together with kcpulb and klwtm threads. |
74 | * not mess together with kcpulb threads. |
75 | * Just a beautification. |
75 | * Just a beautification. |
76 | */ |
76 | */ |
77 | if (t = thread_create(kmp, NULL, TASK, 0)) { |
77 | if (t = thread_create(kmp, NULL, TASK, 0)) { |
78 | spinlock_lock(&t->lock); |
78 | spinlock_lock(&t->lock); |
79 | t->flags |= X_WIRED; |
79 | t->flags |= X_WIRED; |