regression: test serial port r/w.
[lunaix-os.git] / lunaix-os / kernel / debug / trace.c
index 3d712c04db4d97531d5af52064500709e90b71cd..0cee498f3cb6d4f26fe1bcd0ceb1aa907e894ac7 100644 (file)
@@ -145,7 +145,7 @@ trace_printstack_isr(const isr_param* isrm)
 {
     isr_param* p = isrm;
     ptr_t fp = cpu_get_fp();
 {
     isr_param* p = isrm;
     ptr_t fp = cpu_get_fp();
-    int prev_fromusr = uspace_context(p);
+    int prev_fromusr = 0;
 
     kprintf(KDEBUG "\n");
     kprintf(KDEBUG "stack trace (pid=%d)\n", __current->pid);
 
     kprintf(KDEBUG "\n");
     kprintf(KDEBUG "stack trace (pid=%d)\n", __current->pid);