lkml.org 
[lkml]   [2016]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH] posix-timers: make them configurable
On Fri, 9 Sep 2016, Thomas Gleixner wrote:

> On Thu, 8 Sep 2016, Nicolas Pitre wrote:
> > Small embedded systems typically don't need them. This removes about
> > 16KB from the kernel binary size on ARM when configured out.
> > Corresponding syscalls are routed to a stub logging the attempt to
> > use those syscalls which should be enough of a clue if they were
> > disabled without proper consideration.
> >
> > Signed-off-by: Nicolas Pitre <nico@linaro.org>
> >
> > diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
> > index ee3de3421f..00e6098e9a 100644
> > --- a/drivers/ptp/Kconfig
> > +++ b/drivers/ptp/Kconfig
> > @@ -6,7 +6,7 @@ menu "PTP clock support"
> >
> > config PTP_1588_CLOCK
> > tristate "PTP clock support"
> > - depends on NET
> > + depends on NET && POSIX_TIMERS
> > select PPS
> > select NET_PTP_CLASSIFY
> > help
>
> You forgot CONFIG_TIMERFD ....

Unless I'm mistaken, I don't see anything in timerfd.c that depends on
the (removed) POSIX timer code. What am I missing?


Nicolas

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.104 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site