include/linux:add missing declations to some .h files
PATCH 1/1 include/linux:add missing declations to some .h files
From: "Carver.lio" <[email protected]>
On branch ipipe-x86-4.14.y *ipipe.h* missing declaration of ipipe_root_nr_syscalls* and *ipipe_tickdev.h* missing declaration of *ipipe_host_timer_cleanup* when CONFIG_IPIPE=N.
--- include/linux/ipipe.h | 4 ++++ include/linux/ipipe_tickdev.h | 2 ++ 2 files changed, 6 insertions(+)
include/linux/ipipe.h +4 -0
@@ -718,4 +718,8 @@ static inline void __ipipe_pin_mapping_globally(unsigned long start, { }#endif +#ifndef ipipe_root_nr_syscalls +#define ipipe_root_nr_syscalls (ti) NR_syscalls +#endif +#endif /* !__LINUX_IPIPE_H */
include/linux/ipipe_tickdev.h +2 -0
@@ -153,6 +153,8 @@ void __ipipe_timer_refresh_freq(unsigned int hrclock_freq);#define ipipe_host_timer_register (clkevt) do { } while (0) +#define ipipe_host_timer_cleanup (clkevt) do { } while (0) +#endif /* !CONFIG_IPIPE */ #ifdef CONFIG_IPIPE_HAVE_HOSTRT
--
2.17.1