From fa7d4218c7038cb4bd29cbdf693306118b324030 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 18 Jul 2019 19:07:32 -0400 Subject: remove mips/n32/64 stat struct hacks from syscall machinery now that we have a kstat structure decoupled from the public struct stat, we can just use the broken kernel structures directly and let the code in fstatat do the translation. --- arch/mipsn32/kstat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/mipsn32/kstat.h') diff --git a/arch/mipsn32/kstat.h b/arch/mipsn32/kstat.h index 7be515c8..3841559c 100644 --- a/arch/mipsn32/kstat.h +++ b/arch/mipsn32/kstat.h @@ -1,13 +1,13 @@ struct kstat { - dev_t st_dev; - long __pad1[2]; + unsigned st_dev; + long __pad1[3]; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; uid_t st_uid; gid_t st_gid; - dev_t st_rdev; - long __pad2[2]; + unsigned st_rdev; + long __pad2[3]; off_t st_size; long st_atime_sec; long st_atime_nsec; -- cgit v1.2.1