mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 12:36:59 +07:00
ce1c7f84e2
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
301 B
C
16 lines
301 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef TIMEOUT_H
|
|
#define TIMEOUT_H
|
|
|
|
enum {
|
|
/* Default timeout */
|
|
TIMEOUT = 10 /* seconds */
|
|
};
|
|
|
|
void sigalrm(int signo);
|
|
void timeout_begin(unsigned int seconds);
|
|
void timeout_check(const char *operation);
|
|
void timeout_end(void);
|
|
|
|
#endif /* TIMEOUT_H */
|