1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * linux/include/linux/sunrpc/types.h 4 * 5 * Generic types and misc stuff for RPC. 6 * 7 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> 8 */ 9 10 #ifndef _LINUX_SUNRPC_TYPES_H_ 11 #define _LINUX_SUNRPC_TYPES_H_ 12 13 #include <linux/timer.h> 14 #include <linux/sched/signal.h> 15 #include <linux/workqueue.h> 16 #include <linux/sunrpc/debug.h> 17 #include <linux/list.h> 18 19 /* 20 * Shorthands 21 */ 22 #define signalled() (signal_pending(current)) 23 24 #endif /* _LINUX_SUNRPC_TYPES_H_ */ 25