]> git.baikalelectronics.ru Git - kernel.git/commit
posix-timers: Unbreak CONFIG_POSIX_TIMERS=n build
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Aug 2019 06:19:40 +0000 (08:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Aug 2019 06:25:21 +0000 (08:25 +0200)
commit29b8069ed46b5d8f2f91cf0859d259725762e598
tree846c29073d10f0bb4346b94ef1fd456e2d2d8d80
parent01832112582f4cba2548a5a58d2866fe4da0dc26
posix-timers: Unbreak CONFIG_POSIX_TIMERS=n build

The rework of the posix-cpu-timers patch series dropped the empty
declaration of struct cpu_timer for the CONFIG_POSIX_TIMERS=n case which
causes the build to fail:

./include/linux/posix-timers.h:218:20: error: field 'cpu' has incomplete type

Add it back.

Fixes: a8a0e8bb82e4 ("posix-cpu-timers: Utilize timerqueue for storage")
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/posix-timers.h