[PATCH 1/3] fs: move struct timespec to include/linux/time.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>

Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
---
 fs/ubifs/ubifs.h     | 7 -------
 include/linux/time.h | 5 +++++
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index c025d34..6b7139c 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -77,13 +77,6 @@ void iput(struct inode *inode);
 #define atomic_long_dec(a)
 #define	atomic_long_sub(a, b)
 
-/* linux/include/time.h */
-
-struct timespec {
-	time_t	tv_sec;		/* seconds */
-	long	tv_nsec;	/* nanoseconds */
-};
-
 /* linux/include/dcache.h */
 
 /*
diff --git a/include/linux/time.h b/include/linux/time.h
index 3942e82..3a1bb50 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -5,4 +5,9 @@
 
 #define NSEC_PER_SEC	1000000000L
 
+struct timespec {
+	time_t	tv_sec;		/* seconds */
+	long	tv_nsec;	/* nanoseconds */
+};
+
 #endif
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux