summaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 1c5f3152cbb5..425563c7647b 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -94,6 +94,10 @@ struct compat_itimerval {
94 struct compat_timeval it_value; 94 struct compat_timeval it_value;
95}; 95};
96 96
97struct itimerval;
98int get_compat_itimerval(struct itimerval *, const struct compat_itimerval __user *);
99int put_compat_itimerval(struct compat_itimerval __user *, const struct itimerval *);
100
97struct compat_tms { 101struct compat_tms {
98 compat_clock_t tms_utime; 102 compat_clock_t tms_utime;
99 compat_clock_t tms_stime; 103 compat_clock_t tms_stime;
@@ -128,6 +132,10 @@ struct compat_timex {
128 compat_int_t:32; compat_int_t:32; compat_int_t:32; 132 compat_int_t:32; compat_int_t:32; compat_int_t:32;
129}; 133};
130 134
135struct timex;
136int compat_get_timex(struct timex *, const struct compat_timex __user *);
137int compat_put_timex(struct compat_timex __user *, const struct timex *);
138
131#define _COMPAT_NSIG_WORDS (_COMPAT_NSIG / _COMPAT_NSIG_BPW) 139#define _COMPAT_NSIG_WORDS (_COMPAT_NSIG / _COMPAT_NSIG_BPW)
132 140
133typedef struct { 141typedef struct {