Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 44814b8 in mainline


Ignore:
Timestamp:
2009-04-06T15:43:11Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
37be841
Parents:
7b0297b
Message:

more readable spinning printout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/spinlock.c

    r7b0297b r44814b8  
    107107                if (i++ > DEADLOCK_THRESHOLD) {
    108108                        printf("cpu%u: looping on spinlock %" PRIp ":%s, "
    109                             "caller=%" PRIp "(%s)", CPU->id, sl, sl->name,
     109                            "caller=%" PRIp "(%s)\n", CPU->id, sl, sl->name,
    110110                            CALLER, symtab_fmt_name_lookup(CALLER));
    111 
     111                       
    112112                        i = 0;
    113113                        deadlock_reported = true;
Note: See TracChangeset for help on using the changeset viewer.