summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2002-12-14 20:16:19 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-14 20:16:19 -0800
commitbda0e9568615f5af3bd927420f6deb2d1d7773ac (patch)
tree0d83bdcb2490184a4acb5cf1725af27ea56784ec /include/linux/compat.h
parentf9a4660bc54c0784223f0d07f4b85f460f501dbe (diff)
[PATCH] consolidate sys32_new[lf]stat - architecture independent
This renames more types and moves them into asm/compat.h and also consolidates sys32_new{stat,fstat,lstat}.
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 228bd4b13365..62daefb17672 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -8,6 +8,7 @@
#ifdef CONFIG_COMPAT
+#include <linux/stat.h>
#include <asm/compat.h>
#define compat_jiffies_to_clock_t(x) ((x) / (HZ / COMPAT_USER_HZ))
@@ -29,5 +30,7 @@ struct compat_tms {
compat_clock_t tms_cstime;
};
+extern int cp_compat_stat(struct kstat *, struct compat_stat *);
+
#endif /* CONFIG_COMPAT */
#endif /* _LINUX_COMPAT_H */