OSDN Git Service

tick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer
authorJisheng Zhang <jszhang@marvell.com>
Tue, 5 Jul 2016 08:57:51 +0000 (16:57 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 5 Jul 2016 15:02:19 +0000 (17:02 +0200)
commit5130213721d01b6632c255d4295a8102cbb58379
tree800d86db483f729c2df523eed1e559e2ab4422cb
parent0de7611a1031f25b713fda7d36de44f17c2ed790
tick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer

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 <jszhang@marvell.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1467709071-3667-1-git-send-email-jszhang@marvell.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-broadcast-hrtimer.c