Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mekeeping_notify - Install a new clock source*@clock: pointer to the clock source* This function is called from clocksource.c after a new, better clock* source has been registered. The caller holds the clocksource_mutex.

Proto:int timekeeping_notify(struct clocksource *clock)

Type:int

Parameter:

TypeParameterName
struct clocksource *clock
1404  tk = timekeeper
1406  If clock == clock Then Return 0
1408  stop_machine(hange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource, clock, NULL)
1409  tick_clock_notify()
1410  Return If clock == clock Then 0 Else -1
Caller
NameDescribe
__clocksource_select