Skip to contentSkip to conversation

timekeeping.h: include the correct header for errno definitions

PATCH New Christoph Hellwig 2 participants 2 messages Sep 22, 2016 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timekeeping.h: include the correct header for errno definitions

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>.

---
 include/linux/timekeeping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/timekeeping.h +1 -1
index 816b754..09168c5 100644
@@ -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 */
 
Signature · 1 line
2.1.4
#1 lore raw

[tip:timers/core] timekeeping: Include the correct header for errno definitions

timekeeping: Include the correct header for errno definitions
Commit-ID:  b536fd587044af02183b3c02690431b93154f0fa
Gitweb:     http://git.kernel.org/tip/b536fd587044af02183b3c02690431b93154f0fa
Author:     Christoph Hellwig <[email protected]>
AuthorDate: Thu, 22 Sep 2016 07:48:17 -0700
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Thu, 22 Sep 2016 17:02:55 +0200

timekeeping: Include the correct header for errno definitions

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>.

---
 include/linux/timekeeping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/timekeeping.h +1 -1
index 816b754..09168c5 100644
@@ -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 */