mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] fs: move struct timespec to include/linux/time.h
@ 2016-01-26 10:38 yegorslists
  2016-01-26 10:38 ` [PATCH 2/3] fs: introduce include/linux/fs.h yegorslists
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: yegorslists @ 2016-01-26 10:38 UTC (permalink / raw)
  To: barebox

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-26 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26 10:38 [PATCH 1/3] fs: move struct timespec to include/linux/time.h yegorslists
2016-01-26 10:38 ` [PATCH 2/3] fs: introduce include/linux/fs.h yegorslists
2016-01-26 10:38 ` [PATCH 3/3] fs: import magic.h from Linux kernel yegorslists
2016-01-26 21:57 ` [PATCH 1/3] fs: move struct timespec to include/linux/time.h Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox