Expect struct sigcontext* object as second parameter for profil_counter.
authordrepper <drepper>
Fri, 29 Oct 1999 17:17:07 +0000 (17:17 +0000)
committerdrepper <drepper>
Fri, 29 Oct 1999 17:17:07 +0000 (17:17 +0000)
sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h

index 6a3f0a2..b9711d3 100644 (file)
@@ -20,7 +20,7 @@
 #include <signal.h>
 
 void
-profil_counter (int signo, __siginfo_t *si)
+profil_counter (int signo, struct sigcontext *si)
 {
-  profil_count ((void *) si->si_regs.tpc);
+  profil_count ((void *) si->sigc_regs.tpc);
 }