mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
- Fix various DocBook formatting errors in kernel/time/ that
generated (justified) warnings during a kernel-doc build. Signed-off-by: Ingo Molnar <mingo@kernel.org> -----BEGIN PGP SIGNATURE----- iQJFBAABCgAvFiEEBpT5eoXrXCwVQwEKEnMQ0APhK1gFAmPAGrkRHG1pbmdvQGtl cm5lbC5vcmcACgkQEnMQ0APhK1i+txAAuYNFi2RntHyD/0GIkgcyeS91gRE4WlTA WvCmg0I56oCiFY/TjRJSGOetEDAMs6CIeGmy5u4Al2Drnmw1LtSFwaJZoENJgqMG ytANTNqB4tYmYHVxm6U1eQSxse9vFb0EP/DrK15v+NapkYWXeQUnnGGrfnheeXiE Vg/PlaRkYncAzz424BHBvzK8YAmWiC9CfWAGxmX2PBNq8EL2P4BoFG/Tb0QpvWOL svR0QewSG7A+WnN9i42KaciMKo1pvtPdZPrxu4Mr5yT6t6LzdGLEhqRK+oejzwB0 En3kdI2uMv4Bn0YFwuXtASKpcRHF5qxfpMFRCNhZS0YzwGIJH68frGVhGVS2OFbW UbsD0DBFd30/D/BTtG7OpYBkSC/9DT0SsPpbpc0mqolSSAG/fXy960T5FJ9FzD1b S2TWnY6ZoYpKkrOXZ6DA6jHdc7GV7B1HmQxlVs0S5nzJ9bRCqI/qtUfY3/9pXq6e UyuovcWpQJlaGrDe1TpgzdEvw71+/qokYsuB/V0sViRLDg7VYkYUtQxQYcg+0Jhy J1F7WzxNkkuAgttZqMDKyBCZXFTbCAnihx/aleDnwGzPlF8Rz4l8nU++VvbV9NZp j0hX3GwqhO8fpk9ilRHuFjzzr3ZhhQg5OumZfMWeYvp13hUxoej4e5ZSj7VWhkV5 cENcjdvspG8= =nO/P -----END PGP SIGNATURE----- Merge tag 'timers-urgent-2023-01-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull timer doc fixes from Ingo Molnar: - Fix various DocBook formatting errors in kernel/time/ that generated (justified) warnings during a kernel-doc build. * tag 'timers-urgent-2023-01-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: time: Fix various kernel-doc problems
This commit is contained in:
commit
772d0e9144
@ -18,7 +18,7 @@
|
||||
#include "tick-internal.h"
|
||||
|
||||
/**
|
||||
* tick_program_event
|
||||
* tick_program_event - program the CPU local timer device for the next event
|
||||
*/
|
||||
int tick_program_event(ktime_t expires, int force)
|
||||
{
|
||||
@ -99,7 +99,7 @@ int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *))
|
||||
}
|
||||
|
||||
/**
|
||||
* tick_check_oneshot_mode - check whether the system is in oneshot mode
|
||||
* tick_oneshot_mode_active - check whether the system is in oneshot mode
|
||||
*
|
||||
* returns 1 when either nohz or highres are enabled. otherwise 0.
|
||||
*/
|
||||
|
@ -462,7 +462,7 @@ struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec)
|
||||
EXPORT_SYMBOL(ns_to_kernel_old_timeval);
|
||||
|
||||
/**
|
||||
* set_normalized_timespec - set timespec sec and nsec parts and normalize
|
||||
* set_normalized_timespec64 - set timespec sec and nsec parts and normalize
|
||||
*
|
||||
* @ts: pointer to timespec variable to be set
|
||||
* @sec: seconds to set
|
||||
@ -526,7 +526,7 @@ struct timespec64 ns_to_timespec64(s64 nsec)
|
||||
EXPORT_SYMBOL(ns_to_timespec64);
|
||||
|
||||
/**
|
||||
* msecs_to_jiffies: - convert milliseconds to jiffies
|
||||
* __msecs_to_jiffies: - convert milliseconds to jiffies
|
||||
* @m: time in milliseconds
|
||||
*
|
||||
* conversion is done as follows:
|
||||
@ -541,12 +541,12 @@ EXPORT_SYMBOL(ns_to_timespec64);
|
||||
* handling any 32-bit overflows.
|
||||
* for the details see __msecs_to_jiffies()
|
||||
*
|
||||
* msecs_to_jiffies() checks for the passed in value being a constant
|
||||
* __msecs_to_jiffies() checks for the passed in value being a constant
|
||||
* via __builtin_constant_p() allowing gcc to eliminate most of the
|
||||
* code, __msecs_to_jiffies() is called if the value passed does not
|
||||
* allow constant folding and the actual conversion must be done at
|
||||
* runtime.
|
||||
* the _msecs_to_jiffies helpers are the HZ dependent conversion
|
||||
* The _msecs_to_jiffies helpers are the HZ dependent conversion
|
||||
* routines found in include/linux/jiffies.h
|
||||
*/
|
||||
unsigned long __msecs_to_jiffies(const unsigned int m)
|
||||
|
@ -1590,10 +1590,10 @@ void __weak read_persistent_clock64(struct timespec64 *ts)
|
||||
/**
|
||||
* read_persistent_wall_and_boot_offset - Read persistent clock, and also offset
|
||||
* from the boot.
|
||||
* @wall_time: current time as returned by persistent clock
|
||||
* @boot_offset: offset that is defined as wall_time - boot_time
|
||||
*
|
||||
* Weak dummy function for arches that do not yet support it.
|
||||
* @wall_time: - current time as returned by persistent clock
|
||||
* @boot_offset: - offset that is defined as wall_time - boot_time
|
||||
*
|
||||
* The default function calculates offset based on the current value of
|
||||
* local_clock(). This way architectures that support sched_clock() but don't
|
||||
@ -1701,7 +1701,7 @@ static void __timekeeping_inject_sleeptime(struct timekeeper *tk,
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_RTC_HCTOSYS_DEVICE)
|
||||
/**
|
||||
/*
|
||||
* We have three kinds of time sources to use for sleep time
|
||||
* injection, the preference order is:
|
||||
* 1) non-stop clocksource
|
||||
@ -1722,7 +1722,7 @@ bool timekeeping_rtc_skipresume(void)
|
||||
return !suspend_timing_needed;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* 1) can be determined whether to use or not only when doing
|
||||
* timekeeping_resume() which is invoked after rtc_suspend(),
|
||||
* so we can't skip rtc_suspend() surely if system has 1).
|
||||
|
Loading…
Reference in New Issue
Block a user