From bda0e9568615f5af3bd927420f6deb2d1d7773ac Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Sat, 14 Dec 2002 20:16:19 -0800 Subject: [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}. --- include/linux/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 #include #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 */ -- cgit v1.2.3