Changeset 3bf4143 in mainline


Ignore:
Timestamp:
2007-01-28T17:24:14Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b3a78f
Parents:
8e8c1a5
Message:

Fix creating the kkbdpoll() kernel thread on sparc64 SMP machines.
This fixes Ticket #19.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/sparc64.c

    r8e8c1a5 r3bf4143  
    102102void arch_post_smp_init(void)
    103103{
    104         thread_t *t;
     104        static thread_t *t = NULL;
    105105
    106         if (config.cpu_active == 1) {
     106
     107        if (!t) {
    107108                /*
    108109                 * Create thread that polls keyboard.
Note: See TracChangeset for help on using the changeset viewer.