Lines 104-110
Link Here
|
104 |
#ifdef CONFIG_KALLSYMS |
104 |
#ifdef CONFIG_KALLSYMS |
105 |
printk("\n"); |
105 |
printk("\n"); |
106 |
#endif |
106 |
#endif |
107 |
while (((long) stack & (THREAD_SIZE-1)) != 0) { |
107 |
while (!kstack_end(stack)) { |
108 |
addr = *stack++; |
108 |
addr = *stack++; |
109 |
if (kernel_text_address(addr)) { |
109 |
if (kernel_text_address(addr)) { |
110 |
printk(" [<%08lx>] ", addr); |
110 |
printk(" [<%08lx>] ", addr); |
Lines 138-144
Link Here
|
138 |
|
138 |
|
139 |
stack = esp; |
139 |
stack = esp; |
140 |
for(i = 0; i < kstack_depth_to_print; i++) { |
140 |
for(i = 0; i < kstack_depth_to_print; i++) { |
141 |
if (((long) stack & (THREAD_SIZE-1)) == 0) |
141 |
if (kstack_end(stack)) |
142 |
break; |
142 |
break; |
143 |
if (i && ((i % 8) == 0)) |
143 |
if (i && ((i % 8) == 0)) |
144 |
printk("\n "); |
144 |
printk("\n "); |