Changes in kernel/generic/include/synch/spinlock.h [b2fa1204:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/spinlock.h
rb2fa1204 r9d58539 137 137 #ifdef CONFIG_DEBUG_SPINLOCK 138 138 139 #include < log.h>139 #include <print.h> 140 140 141 141 #define DEADLOCK_THRESHOLD 100000000 … … 146 146 if ((pname)++ > (value)) { \ 147 147 (pname) = 0; \ 148 log(LF_OTHER, LVL_WARN, \ 149 "Deadlock probe %s: exceeded threshold %u\n" \ 148 printf("Deadlock probe %s: exceeded threshold %u\n" \ 150 149 "cpu%u: function=%s, line=%u\n", \ 151 150 #pname, (value), CPU->id, __func__, __LINE__); \
Note:
See TracChangeset
for help on using the changeset viewer.