diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-05-17 22:14:29 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-17 22:52:46 +0200 |
commit | be9c1b9cf4b5c1e436d08e189ea4305e57082a89 (patch) | |
tree | c9614661202871c10b3be151f954b6ed6a792b85 /hurd | |
parent | 4a373ea7d677c69dc95903dbb542237ab1380eb5 (diff) | |
download | glibc-be9c1b9cf4b5c1e436d08e189ea4305e57082a89.tar.gz glibc-be9c1b9cf4b5c1e436d08e189ea4305e57082a89.tar.xz glibc-be9c1b9cf4b5c1e436d08e189ea4305e57082a89.zip |
hurd: Use MACHINE_THREAD_STATE_SETUP_CALL
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230517191436.73636-4-bugaevc@gmail.com>
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurdfault.c | 4 |
1 files 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, |