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)
commit8f2edb4a78f7f5fa35c025849152b1d2dfaee4eb
tree846c29073d10f0bb4346b94ef1fd456e2d2d8d80
parent71fed982d63cb2bb88db6f36059e3b14a7913846
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: 60bda037f1dd ("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