summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2003-01-07 18:02:49 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-07 18:02:49 -0800
commit9766c96496e776c6fc13562a4a51870d6a3aff91 (patch)
tree6b06693c21edcae1385e46fc76400dbddcb29106 /include/linux
parent4b7761b4e9a81d4af9fe2085d5c76990a6f15715 (diff)
[PATCH] {get,put}_compat_timspec: generic
Andi Kleen asked for these two, so here they are. This is the generic part of creating compat functions for timespec get/put.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 39405f5a06ea..6a1ab40649f8 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -36,6 +36,8 @@ struct compat_tms {
extern int cp_compat_stat(struct kstat *, struct compat_stat *);
extern int get_compat_flock(struct flock *, struct compat_flock *);
extern int put_compat_flock(struct flock *, struct compat_flock *);
+extern int get_compat_timespec(struct timespec *, struct compat_timespec *);
+extern int put_compat_timespec(struct timespec *, struct compat_timespec *);
#endif /* CONFIG_COMPAT */
#endif /* _LINUX_COMPAT_H */