projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de7611
)
tick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer
author
Jisheng Zhang
<
[email protected]
>
Tue, 5 Jul 2016 08:57:51 +0000
(16:57 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Tue, 5 Jul 2016 15:02:19 +0000
(17:02 +0200)
This is to avoid the "null" name when we either
~ # cat /sys/devices/system/clockevents/broadcast/current_device
(null)
or
~ # cat /proc/timer_list
...
Tick Device: mode: 1
Broadcast device
Clock Event Device: (null)
...
Signed-off-by: Jisheng Zhang <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
kernel/time/tick-broadcast-hrtimer.c
patch
|
blob
|
history
diff --git
a/kernel/time/tick-broadcast-hrtimer.c
b/kernel/time/tick-broadcast-hrtimer.c
index 53d7184da0bedb5d7df959d09c2b787f77f0682b..690b797f522e38945ec021cfabe799568448cd7a 100644
(file)
--- a/
kernel/time/tick-broadcast-hrtimer.c
+++ b/
kernel/time/tick-broadcast-hrtimer.c
@@
-75,6
+75,7
@@
static int bc_set_next(ktime_t expires, struct clock_event_device *bc)
}
static struct clock_event_device ce_broadcast_hrtimer = {
+ .name = "bc_hrtimer",
.set_state_shutdown = bc_shutdown,
.set_next_ktime = bc_set_next,
.features = CLOCK_EVT_FEAT_ONESHOT |