Re: [PATCH] time: export nsec_to_clock_t

2018-04-02 Thread Viresh Kumar
On 29-03-18, 21:11, Thomas Gleixner wrote: > On Thu, 29 Mar 2018, Zhang Rui wrote: > > On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > > > nsec_to_clock_t was traditionally used only in the core kernel, now > > > we > > > have a sysfs file that needs it from a loadable module, causing a >

Re: [PATCH] time: export nsec_to_clock_t

2018-04-02 Thread Viresh Kumar
On 29-03-18, 21:11, Thomas Gleixner wrote: > On Thu, 29 Mar 2018, Zhang Rui wrote: > > On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > > > nsec_to_clock_t was traditionally used only in the core kernel, now > > > we > > > have a sysfs file that needs it from a loadable module, causing a >

Re: [PATCH] time: export nsec_to_clock_t

2018-03-29 Thread Thomas Gleixner
On Thu, 29 Mar 2018, Zhang Rui wrote: > On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > > nsec_to_clock_t was traditionally used only in the core kernel, now > > we > > have a sysfs file that needs it from a loadable module, causing a > > link-time error: > > > > ERROR: "nsec_to_clock_t"

Re: [PATCH] time: export nsec_to_clock_t

2018-03-29 Thread Thomas Gleixner
On Thu, 29 Mar 2018, Zhang Rui wrote: > On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > > nsec_to_clock_t was traditionally used only in the core kernel, now > > we > > have a sysfs file that needs it from a loadable module, causing a > > link-time error: > > > > ERROR: "nsec_to_clock_t"

Re: [PATCH] time: export nsec_to_clock_t

2018-03-29 Thread Zhang Rui
On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > nsec_to_clock_t was traditionally used only in the core kernel, now > we > have a sysfs file that needs it from a loadable module, causing a > link-time error: > > ERROR: "nsec_to_clock_t" [drivers/thermal/thermal_sys.ko] undefined! > >

Re: [PATCH] time: export nsec_to_clock_t

2018-03-29 Thread Zhang Rui
On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > nsec_to_clock_t was traditionally used only in the core kernel, now > we > have a sysfs file that needs it from a loadable module, causing a > link-time error: > > ERROR: "nsec_to_clock_t" [drivers/thermal/thermal_sys.ko] undefined! > >

[PATCH] time: export nsec_to_clock_t

2018-03-28 Thread Arnd Bergmann
nsec_to_clock_t was traditionally used only in the core kernel, now we have a sysfs file that needs it from a loadable module, causing a link-time error: ERROR: "nsec_to_clock_t" [drivers/thermal/thermal_sys.ko] undefined! This exports the function the same way that we do for related interfaces.

[PATCH] time: export nsec_to_clock_t

2018-03-28 Thread Arnd Bergmann
nsec_to_clock_t was traditionally used only in the core kernel, now we have a sysfs file that needs it from a loadable module, causing a link-time error: ERROR: "nsec_to_clock_t" [drivers/thermal/thermal_sys.ko] undefined! This exports the function the same way that we do for related interfaces.