Changeset 88636f68 in mainline for arch/ia32/src/smp/apic.c


Ignore:
Timestamp:
2006-06-10T10:17:05Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
971cf31f
Parents:
fd7faa87
Message:

#ifdef more debugging printf()'s.

File:
1 edited

Legend:

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

    rfd7faa87 r88636f68  
    228228
    229229        icr.lo = l_apic[ICRlo];
    230         if (icr.delivs == DELIVS_PENDING)
     230        if (icr.delivs == DELIVS_PENDING) {
     231#ifdef CONFIG_DEBUG
    231232                printf("IPI is pending.\n");
     233#endif
     234        }
    232235
    233236        return apic_poll_errors();
     
    268271        delay(20);
    269272
    270         if (!apic_poll_errors()) return 0;
     273        if (!apic_poll_errors())
     274                return 0;
    271275
    272276        icr.lo = l_apic[ICRlo];
    273         if (icr.delivs == DELIVS_PENDING)
     277        if (icr.delivs == DELIVS_PENDING) {
     278#ifdef CONFIG_DEBUG
    274279                printf("IPI is pending.\n");
     280#endif
     281        }
    275282
    276283        icr.delmod = DELMOD_INIT;
Note: See TracChangeset for help on using the changeset viewer.