Subversion Repositories HelenOS-historic

Rev

Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1757 Rev 1780
Line 106... Line 106...
106
        if (sl == &fb_lock)
106
        if (sl == &fb_lock)
107
            continue;
107
            continue;
108
#endif
108
#endif
109
        if (i++ > DEADLOCK_THRESHOLD) {
109
        if (i++ > DEADLOCK_THRESHOLD) {
110
            printf("cpu%d: looping on spinlock %.*p:%s, caller=%.*p",
110
            printf("cpu%d: looping on spinlock %.*p:%s, caller=%.*p",
111
                   CPU->id, sizeof(__address) * 2, sl, sl->name, sizeof(__address) * 2, CALLER);
111
                   CPU->id, sizeof(uintptr_t) * 2, sl, sl->name, sizeof(uintptr_t) * 2, CALLER);
112
            symbol = get_symtab_entry(CALLER);
112
            symbol = get_symtab_entry(CALLER);
113
            if (symbol)
113
            if (symbol)
114
                printf("(%s)", symbol);
114
                printf("(%s)", symbol);
115
            printf("\n");
115
            printf("\n");
116
            i = 0;
116
            i = 0;