]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/stat.h
[PATCH] GTOD: persistent clock support
[linux-2.6-omap-h63xx.git] / include / linux / stat.h
index 8ff2a122dfefc99a3b02431ef3af63a681016d82..4f8539ccff6cf8addcf9d3561d58d5ba8b518c26 100644 (file)
@@ -7,7 +7,7 @@
 
 #endif
 
-#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+#ifdef __KERNEL__
 
 #define S_IFMT  00170000
 #define S_IFSOCK 0140000
@@ -57,7 +57,7 @@
 #include <linux/time.h>
 
 struct kstat {
-       unsigned long   ino;
+       u64             ino;
        dev_t           dev;
        umode_t         mode;
        unsigned int    nlink;
@@ -69,7 +69,7 @@ struct kstat {
        struct timespec mtime;
        struct timespec ctime;
        unsigned long   blksize;
-       unsigned long   blocks;
+       unsigned long long      blocks;
 };
 
 #endif