Changeset 5f85c91 in mainline for generic/src/cpu/cpu.c


Ignore:
Timestamp:
2005-11-08T12:22:35Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a140b
Parents:
389f41e
Message:

make configuration variables usage consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/cpu/cpu.c

    r389f41e r5f85c91  
    5050        int i, j;
    5151       
    52         #ifdef __SMP__
     52        #ifdef CONFIG_SMP
    5353        if (config.cpu_active == 1) {
    54         #endif /* __SMP__ */
     54        #endif /* CONFIG_SMP */
    5555                cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count);
    5656                if (!cpus)
     
    6767                        cpus[i].id = i;
    6868                       
    69                         #ifdef __SMP__
     69                        #ifdef CONFIG_SMP
    7070                        waitq_initialize(&cpus[i].kcpulb_wq);
    7171                        #endif /* __SMP */
     
    7676                }
    7777               
    78         #ifdef __SMP__
     78        #ifdef CONFIG_SMP
    7979        }
    80         #endif /* __SMP__ */
     80        #endif /* CONFIG_SMP */
    8181
    8282        CPU = &cpus[config.cpu_active-1];
Note: See TracChangeset for help on using the changeset viewer.