Skip to contentSkip to conversation

clocksource: fix comment for __clocksource_updatefreq_scale

PATCH Xie XiuQi 1 participant 3 messages Sep 17, 2013 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore

Xie XiuQi

author
#0 lore raw

The functions clocksource_updatefreq_hz() and clocksource_updatefreq_khz() do not exist. The proper ones are __clocksource_updatefreq_hz() and __clocksource_updatefreq_khz().

---
 kernel/time/clocksource.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/time/clocksource.c +2 -1
index 50a8736..d2f6ddc 100644
@@ -714,7 +714,8 @@ static void clocksource_enqueue(struct clocksource *cs)
  * This should only be called from the clocksource->enable() method.
  *
  * This *SHOULD NOT* be called directly! Please use the
- * clocksource_updatefreq_hz() or clocksource_updatefreq_khz helper functions.
+ * __clocksource_updatefreq_hz() or __clocksource_updatefreq_khz helper
+ * functions.
  */
 void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq)
 {
Signature · 1 line
1.8.2.1
author
#1 lore raw

Add cc John Stultz <[email protected]>

Quoted 24 lines · Xie XiuQi

The functions clocksource_updatefreq_hz() and clocksource_updatefreq_khz() do not exist. The proper ones are __clocksource_updatefreq_hz() and __clocksource_updatefreq_khz().

---
 kernel/time/clocksource.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/time/clocksource.c +2 -1
index 50a8736..d2f6ddc 100644
@@ -714,7 +714,8 @@ static void clocksource_enqueue(struct clocksource *cs)
  * This should only be called from the clocksource->enable() method.
  *
  * This *SHOULD NOT* be called directly! Please use the
- * clocksource_updatefreq_hz() or clocksource_updatefreq_khz helper functions.
+ * __clocksource_updatefreq_hz() or __clocksource_updatefreq_khz helper
+ * functions.
  */
 void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq)
 {
author
#2 lore raw
In reply to Xie XiuQi

Oh, sorry, I lost the [PATCH] prefix on the Subject. Please ignore this mail and I'll resend it soon.

Quoted 24 lines · Xie XiuQi

The functions clocksource_updatefreq_hz() and clocksource_updatefreq_khz() do not exist. The proper ones are __clocksource_updatefreq_hz() and __clocksource_updatefreq_khz().

---
 kernel/time/clocksource.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/time/clocksource.c +2 -1
index 50a8736..d2f6ddc 100644
@@ -714,7 +714,8 @@ static void clocksource_enqueue(struct clocksource *cs)
  * This should only be called from the clocksource->enable() method.
  *
  * This *SHOULD NOT* be called directly! Please use the
- * clocksource_updatefreq_hz() or clocksource_updatefreq_khz helper functions.
+ * __clocksource_updatefreq_hz() or __clocksource_updatefreq_khz helper
+ * functions.
  */
 void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq)
 {