[PATCH 1/2] hrtimer: Add kernel doc annotation for HRTIMER_MODE_HARD

From: Sebastian Andrzej Siewior
Date: Fri Aug 23 2019 - 07:38:54 EST


Add kernel doc annotation for HRTIMER_MODE_HARD.
This should have been part of commit
ae6683d815895 ("hrtimer: Introduce HARD expiry mode")

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
include/linux/hrtimer.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 5df4bcff96d58..1b9a51a1bccb7 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -32,6 +32,8 @@ struct hrtimer_cpu_base;
* when starting the timer)
* HRTIMER_MODE_SOFT - Timer callback function will be executed in
* soft irq context
+ * HRTIMER_MODE_HARD - Timer callback function will be executed in
+ * hard irq context even on PREEMPT_RT.
*/
enum hrtimer_mode {
HRTIMER_MODE_ABS = 0x00,
--
2.23.0