summaryrefslogtreecommitdiff
path: root/arch/um/include/linux/time-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/linux/time-internal.h')
-rw-r--r--arch/um/include/linux/time-internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/um/include/linux/time-internal.h b/arch/um/include/linux/time-internal.h
index e21655926f08..f3b03d39a854 100644
--- a/arch/um/include/linux/time-internal.h
+++ b/arch/um/include/linux/time-internal.h
@@ -75,4 +75,10 @@ static inline void time_travel_wait_readable(int fd)
{
}
#endif /* CONFIG_UML_TIME_TRAVEL_SUPPORT */
+
+/*
+ * Without CONFIG_UML_TIME_TRAVEL_SUPPORT this is a linker error if used,
+ * which is intentional since we really shouldn't link it in that case.
+ */
+void time_travel_ndelay(unsigned long nsec);
#endif /* __TIMER_INTERNAL_H__ */