Changeset 99718a2e in mainline for kernel/arch/ia32/src/smp/smp.c


Ignore:
Timestamp:
2010-06-30T20:42:42Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
873c681
Parents:
50f4b95
Message:

improve code readability

File:
1 edited

Legend:

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

    r50f4b95 r99718a2e  
    113113        apic_init();
    114114       
    115         uint8_t apic = l_apic_id();
    116        
    117115        for (i = 0; i < config.cpu_count; i++) {
    118116                /*
     
    128126                        continue;
    129127               
    130                 if (ops->cpu_apic_id(i) == apic) {
    131                         printf("%s: bad processor entry #%u, will not send IPI "
    132                             "to myself\n", __FUNCTION__, i);
     128                if (ops->cpu_apic_id(i) == bsp_l_apic) {
     129                        printf("kmp: bad processor entry #%u, will not send IPI "
     130                            "to myself\n", i);
    133131                        continue;
    134132                }
Note: See TracChangeset for help on using the changeset viewer.