Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2183 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2087
Line 105... Line 105...
105
#ifdef CONFIG_FB
105
#ifdef CONFIG_FB
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, "
-
 
111
                "caller=%.*p", CPU->id, sizeof(uintptr_t) * 2, sl,
111
                   CPU->id, sizeof(uintptr_t) * 2, sl, sl->name, sizeof(uintptr_t) * 2, CALLER);
112
                sl->name, sizeof(uintptr_t) * 2, CALLER);
112
            symbol = get_symtab_entry(CALLER);
113
            symbol = get_symtab_entry(CALLER);
113
            if (symbol)
114
            if (symbol)
114
                printf("(%s)", symbol);
115
                printf("(%s)", symbol);
115
            printf("\n");
116
            printf("\n");
116
            i = 0;
117
            i = 0;