Displaying 2 results from an estimated 2 matches for "__kernel_ulong_t".
Did you mean:
__kernel_long_t
2016 Apr 14
1
[PATCH 1/1] x32 support
On Wed, Apr 13, 2016 at 7:24 PM, Thorsten Glaser <tg at mirbsd.de> wrote:
> Denis Bychkov dixit:
>
>>This is a klibc port to x32 architecture. I tried to reuse as many
>>existing files as possible, hence, a
>>script making symlinks to x86-64 files. I was running this on Debian
>>for about six months and hopefully,
>>found any close to surface bugs. Of
2015 May 18
5
kernel/libc uapi changes for y2038
..._stat2 stat
+#else
+#define __kernel_stat stat
+#endif
+
#ifdef __i386__
-struct stat {
+struct __old_kernel_stat2 {
unsigned long st_dev;
unsigned long st_ino;
unsigned short st_mode;
@@ -73,7 +80,7 @@ struct stat64 {
#else /* __i386__ */
-struct stat {
+struct __old_kernel_stat2 {
__kernel_ulong_t st_dev;
__kernel_ulong_t st_ino;
__kernel_ulong_t st_nlink;
diff --git a/arch/xtensa/include/uapi/asm/stat.h b/arch/xtensa/include/uapi/asm/stat.h
index 8d9c1d9d82d0..94e40d22eb88 100644
--- a/arch/xtensa/include/uapi/asm/stat.h
+++ b/arch/xtensa/include/uapi/asm/stat.h
@@ -15,7 +15,7 @@
#de...