Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-common.c Create Date:2022-07-28 10:50:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tick_install_replacement

Proto:void tick_install_replacement(struct clock_event_device *newdev)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *newdev
276  td = this_cpu_ptr( & Tick devices)
277  cpu = smp_processor_id()
279  lockevents_exchange_device - release and request clock devices*@old: device to release (can be NULL)*@new: device to request (can be NULL)* Called from various tick functions with clockevents_lock held and* interrupts disabled.
280  Setup the tick device
281  If features & CLOCK_EVT_FEAT_ONESHOT Then tick_oneshot_notify()
Caller
NameDescribe
clockevents_replaceTry to install a replacement clock event device