8 __weak_alias(_exit
, __exit
)
11 __dead
void _exit(status
)
14 void (*suicide
)(void);
18 _syscall(PM_PROC_NR
, EXIT
, &m
);
20 /* If exiting nicely through PM fails for some reason, try to
21 * commit suicide. E.g., message to PM might fail due to deadlock.
23 suicide
= (void (*)(void)) -1;
26 /* If committing suicide fails for some reason, hang. */