Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tick/broadcast: Drop unneeded CONFIG_GENERIC_CLOCKEVENTS_BROADCAST guard

tick-broadcast.o is only built if CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
so remove the redundant #ifdef guards around the definition of
tick_receive_broadcast().

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210524221818.15850-2-will@kernel.org

authored by

Will Deacon and committed by
Thomas Gleixner
c2d4fee3 1fa98d96

-2
-2
kernel/time/tick-broadcast.c
··· 253 253 return ret; 254 254 } 255 255 256 - #ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST 257 256 int tick_receive_broadcast(void) 258 257 { 259 258 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); ··· 267 268 evt->event_handler(evt); 268 269 return 0; 269 270 } 270 - #endif 271 271 272 272 /* 273 273 * Broadcast the event to the cpus, which are set in the mask (mangled).