Changeset acee917 in mainline for kernel/arch/ia64/src/smp/smp.c


Ignore:
Timestamp:
2009-01-04T22:51:09Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
59b2adb
Parents:
0e56eb1a
Message:

Do not compile unnecessary code when CONFIG_SMP is not configured on ia64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/smp/smp.c

    r0e56eb1a racee917  
    7474static void ipi_broadcast_arch_all(int ipi)
    7575{
    76         int id,eid;
     76        int id, eid;
    7777        int myid, myeid;
    7878       
     
    8888void ipi_broadcast_arch(int ipi )
    8989{
    90         int id,eid;
    91         int myid,myeid;
     90        int id, eid;
     91        int myid, myeid;
    9292       
    9393        myid = ia64_get_cpu_id();
     
    107107       
    108108        /*
    109          * If we have not system prepared by hello, we are not able to start
     109         * If we have not got system prepared by hello, we are not able to start
    110110         * AP's. This means we are running on a simulator.
    111111         */
     
    130130void kmp(void *arg __attribute__((unused)))
    131131{
    132         int id,eid;
     132        int id, eid;
    133133        int myid, myeid;
    134134       
     
    166166#endif
    167167
    168 
    169 #ifndef CONFIG_SMP
    170 
    171 /* This is just a hack for linking with assembler - may be removed in future. */
    172 void main_ap(void);
    173 void main_ap(void)
    174 {
    175         while(1)
    176                 ;
    177 }
    178 
    179 #endif
    180 
    181168/** @}
    182169 */
Note: See TracChangeset for help on using the changeset viewer.