diff options
| author | Borislav Petkov <[email protected]> | 2019-03-29 10:28:52 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2019-03-29 13:13:44 +0000 |
| commit | aba0954327c831f593702e3a81ef3ad4bec7a838 (patch) | |
| tree | 407d37e26a3d06265824d8f3aa053f7d3de11cd9 /drivers/pwm/pwm-stm32-lp.c | |
| parent | timekeeping: Force upper bound for setting CLOCK_REALTIME (diff) | |
| download | kernel-aba0954327c831f593702e3a81ef3ad4bec7a838.tar.gz kernel-aba0954327c831f593702e3a81ef3ad4bec7a838.zip | |
tick/broadcast: Fix warning about undefined tick_broadcast_oneshot_offline()
Randconfig builds with
CONFIG_TICK_ONESHOT=y
CONFIG_HOTPLUG_CPU=n
trigger
kernel/time/tick-broadcast.c:39:13: warning: ‘tick_broadcast_oneshot_offline’ \
declared ‘static’ but never defined [-Wunused-function]
due to that function's definition missing.
Move the CONFIG_HOTPLUG_CPU ifdeffery around its declaration too.
Fixes: 1b72d4323798 ("tick: Remove outgoing CPU from broadcast masks")
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions
