Changeset 5f85c91 in mainline for generic/src/main/kinit.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/main/kinit.c

    r389f41e r5f85c91  
    4444#include <memstr.h>
    4545
    46 #ifdef __SMP__
     46#ifdef CONFIG_SMP
    4747#include <arch/smp/mps.h>
    48 #endif /* __SMP__ */
     48#endif /* CONFIG_SMP */
    4949
    5050#include <synch/waitq.h>
     
    6767        interrupts_disable();
    6868
    69 #ifdef __SMP__                 
     69#ifdef CONFIG_SMP                       
    7070        if (config.cpu_count > 1) {
    7171                /*
     
    8585                else panic("thread_create/kmp");
    8686        }
    87 #endif /* __SMP__ */
     87#endif /* CONFIG_SMP */
    8888        /*
    8989         * Now that all CPUs are up, we can report what we've found.
     
    9696        }
    9797
    98 #ifdef __SMP__
     98#ifdef CONFIG_SMP
    9999        if (config.cpu_count > 1) {
    100100                /*
     
    114114                }
    115115        }
    116 #endif /* __SMP__ */
     116#endif /* CONFIG_SMP */
    117117
    118118        interrupts_enable();
Note: See TracChangeset for help on using the changeset viewer.