timekeeping: Include the correct header for errno definitions
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Sep 2016 14:48:17 +0000 (07:48 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Sep 2016 15:02:55 +0000 (17:02 +0200)
asm-generic headers are only defaults for architectures.  We need to get
the proper defintion, which goes through <linux/errno.h> and <asm/errno.h>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: john.stultz@linaro.org
Link: http://lkml.kernel.org/r/1474555697-8206-1-git-send-email-hch@lst.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/timekeeping.h

index 816b754..09168c5 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _LINUX_TIMEKEEPING_H
 #define _LINUX_TIMEKEEPING_H
 
-#include <asm-generic/errno-base.h>
+#include <linux/errno.h>
 
 /* Included from linux/ktime.h */