Changeset 5f85c91 in mainline for generic/include


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

Location:
generic/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • generic/include/cpu.h

    r389f41e r5f85c91  
    5353        link_t timeout_active_head;
    5454
    55         #ifdef __SMP__
     55        #ifdef CONFIG_SMP
    5656        int kcpulbstarted;
    5757        waitq_t kcpulb_wq;
    58         #endif /* __SMP__ */
     58        #endif /* CONFIG_SMP */
    5959
    6060        int id;
  • generic/include/mm/tlb.h

    r389f41e r5f85c91  
    3434extern void tlb_init(void);
    3535
    36 #ifdef __SMP__
     36#ifdef CONFIG_SMP
    3737extern void tlb_shootdown_start(void);
    3838extern void tlb_shootdown_finalize(void);
     
    4242#  define tlb_shootdown_finalize()      ;
    4343#  define tlb_shootdown_ipi_recv() ;
    44 #endif /* __SMP__ */
     44#endif /* CONFIG_SMP */
    4545
    4646/* Export TLB interface that each architecture must implement. */
  • generic/include/smp/ipi.h

    r389f41e r5f85c91  
    3030#define __IPI_H__
    3131
    32 #ifdef __SMP__
     32#ifdef CONFIG_SMP
    3333extern void ipi_broadcast(int ipi);
    3434extern void ipi_broadcast_arch(int ipi);
    3535#else
    3636#define ipi_broadcast(x)        ;
    37 #endif /* __SMP__ */
     37#endif /* CONFIG_SMP */
    3838
    3939#endif
  • generic/include/smp/smp.h

    r389f41e r5f85c91  
    3030#define __SMP_H__
    3131
    32 #ifdef __SMP__
     32#ifdef CONFIG_SMP
    3333extern void smp_init(void);
    3434#else
    3535#define smp_init()      ;
    36 #endif /* __SMP__ */
     36#endif /* CONFIG_SMP */
    3737
    3838#endif /* __SMP_H__ */
  • generic/include/synch/spinlock.h

    r389f41e r5f85c91  
    3434#include <preemption.h>
    3535
    36 #ifdef __SMP__
     36#ifdef CONFIG_SMP
    3737struct spinlock {
    3838        int val;
Note: See TracChangeset for help on using the changeset viewer.