Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2091
Line 99... Line 99...
99
{
99
{
100
}
100
}
101
 
101
 
102
void arch_post_smp_init(void)
102
void arch_post_smp_init(void)
103
{
103
{
104
    thread_t *t;
104
    static thread_t *t = NULL;
105
 
105
 
-
 
106
 
106
    if (config.cpu_active == 1) {
107
    if (!t) {
107
        /*
108
        /*
108
             * Create thread that polls keyboard.
109
             * Create thread that polls keyboard.
109
             */
110
             */
110
        t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
111
        t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true);
111
        if (!t)
112
        if (!t)