public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Use MACHINE_THREAD_STATE_SETUP_CALL
@ 2023-05-17 20:52 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-05-17 20:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=be9c1b9cf4b5c1e436d08e189ea4305e57082a89

commit be9c1b9cf4b5c1e436d08e189ea4305e57082a89
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Wed May 17 22:14:29 2023 +0300

    hurd: Use MACHINE_THREAD_STATE_SETUP_CALL
    
    Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
    Message-Id: <20230517191436.73636-4-bugaevc@gmail.com>

Diff:
---
 hurd/hurdfault.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c
index 4340897dee..dae889a93a 100644
--- a/hurd/hurdfault.c
+++ b/hurd/hurdfault.c
@@ -205,8 +205,8 @@ _hurdsig_fault_init (void)
      It runs the function above.  */
   memset (&state, 0, sizeof state);
   MACHINE_THREAD_STATE_FIX_NEW (&state);
-  MACHINE_THREAD_STATE_SET_PC (&state, faulted);
-  MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack);
+  MACHINE_THREAD_STATE_SETUP_CALL (&state, faultstack,
+				   sizeof faultstack, faulted);
 
   err = __USEPORT
     (PROC,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-17 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 20:52 [glibc] hurd: Use MACHINE_THREAD_STATE_SETUP_CALL Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).