Changeset 5f85c91 in mainline for arch/ia32/src


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:
arch/ia32/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/atomic.S

    r389f41e r5f85c91  
    2929.text
    3030
    31 #ifdef __SMP__
     31#ifdef CONFIG_SMP
    3232
    3333.global spinlock_arch
     
    4343
    44440:     
    45         #ifdef __HT__
     45        #ifdef CONFIG_HT
    4646        pause                   # Pentium 4's with HT love this instruction
    4747        #endif
  • arch/ia32/src/ia32.c

    r389f41e r5f85c91  
    6363                trap_register(VECTOR_SYSCALL, syscall);
    6464               
    65                 #ifdef __SMP__
     65                #ifdef CONFIG_SMP
    6666                trap_register(VECTOR_TLB_SHOOTDOWN_IPI, tlb_shootdown_ipi);
    6767                trap_register(VECTOR_WAKEUP_IPI, wakeup_ipi);
    68                 #endif /* __SMP__ */
     68                #endif /* CONFIG_SMP */
    6969        }
    7070}
     
    8282                memory_print_map();
    8383               
    84                 #ifdef __SMP__
     84                #ifdef CONFIG_SMP
    8585                acpi_init();
    86                 #endif /* __SMP__ */
     86                #endif /* CONFIG_SMP */
    8787        }
    8888}
  • arch/ia32/src/interrupt.c

    r389f41e r5f85c91  
    111111void nm_fault(__u8 n, __native stack[])
    112112{
    113 #ifdef FPU_LAZY     
     113#ifdef CONFIG_FPU_LAZY     
    114114        scheduler_fpu_lazy_request();
    115115#else
  • arch/ia32/src/smp/ap.S

    r389f41e r5f85c91  
    3333.section K_TEXT_START_2, "ax"
    3434
    35 #ifdef __SMP__
     35#ifdef CONFIG_SMP
    3636
    3737.global ap_boot
     
    7474        jmpl $KTEXT, $main_ap
    7575
    76 #endif /* __SMP__ */
     76#endif /* CONFIG_SMP */
  • arch/ia32/src/smp/apic.c

    r389f41e r5f85c91  
    3838#include <arch.h>
    3939
    40 #ifdef __SMP__
     40#ifdef CONFIG_SMP
    4141
    4242/*
     
    417417}
    418418
    419 #endif /* __SMP__ */
     419#endif /* CONFIG_SMP */
  • arch/ia32/src/smp/ipi.c

    r389f41e r5f85c91  
    2727 */
    2828
    29 #ifdef __SMP__
     29#ifdef CONFIG_SMP
    3030
    3131#include <smp/ipi.h>
     
    3737}
    3838
    39 #endif /* __SMP__ */
     39#endif /* CONFIG_SMP */
  • arch/ia32/src/smp/mps.c

    r389f41e r5f85c91  
    2727 */
    2828
    29 #ifdef __SMP__
     29#ifdef CONFIG_SMP
    3030
    3131#include <config.h>
     
    423423}
    424424
    425 #endif /* __SMP__ */
     425#endif /* CONFIG_SMP */
  • arch/ia32/src/smp/smp.c

    r389f41e r5f85c91  
    4848#include <arch/i8259.h>
    4949
    50 #ifdef __SMP__
     50#ifdef CONFIG_SMP
    5151
    5252static struct smp_config_operations *ops = NULL;
     
    166166}
    167167
    168 #endif /* __SMP__ */
     168#endif /* CONFIG_SMP */
Note: See TracChangeset for help on using the changeset viewer.