Changeset e2b762ec in mainline for kernel/generic/src/synch/spinlock.c
- Timestamp:
- 2009-03-16T21:58:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36c061
- Parents:
- d9167a1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
rd9167a1c re2b762ec 43 43 #include <print.h> 44 44 #include <debug.h> 45 46 #ifdef CONFIG_SYMTAB 45 47 #include <symtab.h> 48 #endif 46 49 47 50 #ifdef CONFIG_FB … … 77 80 { 78 81 count_t i = 0; 82 bool deadlock_reported = false; 83 #ifdef CONFIG_SYMTAB 79 84 char *symbol; 80 bool deadlock_reported = false; 85 #endif 81 86 82 87 preemption_disable(); … … 109 114 printf("cpu%u: looping on spinlock %" PRIp ":%s, caller=%" PRIp, 110 115 CPU->id, sl, sl->name, CALLER); 116 #ifdef CONFIG_SYMTAB 111 117 symbol = get_symtab_entry(CALLER); 112 118 if (symbol) 113 119 printf("(%s)", symbol); 120 #endif 114 121 printf("\n"); 115 122 i = 0;
Note:
See TracChangeset
for help on using the changeset viewer.