/include/linux/sunrpc/types.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t · C Header · 22 lines · 8 code · 4 blank · 10 comment · 0 complexity · 875b34fded14e526efb6b139b02ac0ba MD5 · raw file

  1. /*
  2. * linux/include/linux/sunrpc/types.h
  3. *
  4. * Generic types and misc stuff for RPC.
  5. *
  6. * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
  7. */
  8. #ifndef _LINUX_SUNRPC_TYPES_H_
  9. #define _LINUX_SUNRPC_TYPES_H_
  10. #include <linux/timer.h>
  11. #include <linux/workqueue.h>
  12. #include <linux/sunrpc/debug.h>
  13. #include <linux/list.h>
  14. /*
  15. * Shorthands
  16. */
  17. #define signalled() (signal_pending(current))
  18. #endif /* _LINUX_SUNRPC_TYPES_H_ */