summaryrefslogtreecommitdiff
path: root/include/asm-mips
diff options
context:
space:
mode:
authorAndries E. Brouwer <andries.brouwer@cwi.nl>2003-04-18 03:18:49 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-18 03:18:49 -0700
commitca49321fb6092b9cf73bd76b61a3ebfbbcdf57c9 (patch)
tree13c9fd114825715a64f1a4efb27b3c8d86f19a46 /include/asm-mips
parent24ebdc14c92617ab07a7be22946535d4ebb1a841 (diff)
[PATCH] struct loop_info64 with __u64
(i) Replace in struct loop_info the dev_t field by __kernel_old_dev_t, where this type is defined in <asm/posix_types.h>, so that problems with a differently sized dev_t in userspace are avoided. (ii) Introduce a new loop_info64, with __u64 device, inode and offset fields.
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/posix_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/posix_types.h b/include/asm-mips/posix_types.h
index 6c48b3f83948..21191a76c286 100644
--- a/include/asm-mips/posix_types.h
+++ b/include/asm-mips/posix_types.h
@@ -39,6 +39,7 @@ typedef int __kernel_uid32_t;
typedef int __kernel_gid32_t;
typedef __kernel_uid_t __kernel_old_uid_t;
typedef __kernel_gid_t __kernel_old_gid_t;
+typedef unsigned int __kernel_old_dev_t;
#ifdef __GNUC__
typedef long long __kernel_loff_t;