diff options
Diffstat (limited to 'arch/um/kernel/tt/tracer.c')
-rw-r--r-- | arch/um/kernel/tt/tracer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/um/kernel/tt/tracer.c b/arch/um/kernel/tt/tracer.c index 7b5d937e5955..f7b1753a025c 100644 --- a/arch/um/kernel/tt/tracer.c +++ b/arch/um/kernel/tt/tracer.c | |||
@@ -89,8 +89,10 @@ void tracer_panic(char *format, ...) | |||
89 | 89 | ||
90 | static void tracer_segv(int sig, struct sigcontext sc) | 90 | static void tracer_segv(int sig, struct sigcontext sc) |
91 | { | 91 | { |
92 | struct faultinfo fi; | ||
93 | GET_FAULTINFO_FROM_SC(fi, &sc); | ||
92 | printf("Tracing thread segfault at address 0x%lx, ip 0x%lx\n", | 94 | printf("Tracing thread segfault at address 0x%lx, ip 0x%lx\n", |
93 | SC_FAULT_ADDR(&sc), SC_IP(&sc)); | 95 | FAULT_ADDRESS(fi), SC_IP(&sc)); |
94 | while(1) | 96 | while(1) |
95 | pause(); | 97 | pause(); |
96 | } | 98 | } |