Revert 190445 change to this file restoring:

typedef l_long          l_off_t;
Change l_mmap_argv's to l_ulong for pgoff.  This restores prior behaviour
to consumers of l_off_t but allows mmap to mmap a 32bit position which a
Linux application requires to access SMBIOS data via /dev/mem.

Reviewed by:	dchagin
Prompted by:	rdivacky
This commit is contained in:
ambrisko 2009-03-27 17:00:49 +00:00
parent 92faf03fe9
commit b6f7b6df88

View File

@ -79,7 +79,7 @@ typedef l_ulong l_ino_t;
typedef l_int l_key_t;
typedef l_longlong l_loff_t;
typedef l_ushort l_mode_t;
typedef l_ulong l_off_t;
typedef l_long l_off_t;
typedef l_int l_pid_t;
typedef l_uint l_size_t;
typedef l_long l_suseconds_t;
@ -179,8 +179,8 @@ struct l_mmap_argv {
l_int prot;
l_int flags;
l_int fd;
l_off_t pgoff;
} __packed;
l_ulong pgoff;
};
/*
* stat family of syscalls