Changeset 14df080 in mainline
- Timestamp:
- 2006-06-08T16:17:59Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 85d24f61
- Parents:
- 3701250
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/drivers/i8259.c
r3701250 r14df080 121 121 void pic_spurious(int n, istate_t *istate) 122 122 { 123 #ifdef CONFIG_DEBUG 123 124 printf("cpu%d: PIC spurious interrupt\n", CPU->id); 125 #endif 124 126 } -
arch/ia32/src/smp/apic.c
r3701250 r14df080 172 172 void apic_spurious(int n, istate_t *istate) 173 173 { 174 #ifdef CONFIG_DEBUG 174 175 printf("cpu%d: APIC spurious interrupt\n", CPU->id); 176 #endif 175 177 } 176 178 -
generic/src/synch/spinlock.c
r3701250 r14df080 70 70 */ 71 71 #ifdef CONFIG_DEBUG_SPINLOCK 72 #define DEADLOCK_THRESHOLD 100000000 72 73 void spinlock_lock_debug(spinlock_t *sl) 73 74 { … … 102 103 continue; 103 104 #endif 104 if (i++ > 10000000) {105 if (i++ > DEADLOCK_THRESHOLD) { 105 106 printf("cpu%d: looping on spinlock %.*p:%s, caller=%.*p", 106 107 CPU->id, sizeof(__address) * 2, sl, sl->name, sizeof(__address) * 2, CALLER);
Note:
See TracChangeset
for help on using the changeset viewer.