From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755370AbcGEP35 (ORCPT ); Tue, 5 Jul 2016 11:29:57 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44330 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbcGEP3z (ORCPT ); Tue, 5 Jul 2016 11:29:55 -0400 Date: Tue, 5 Jul 2016 08:06:44 -0700 From: tip-bot for Jisheng Zhang Message-ID: Cc: jszhang@marvell.com, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, mingo@kernel.org Reply-To: mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, jszhang@marvell.com In-Reply-To: <1467709071-3667-1-git-send-email-jszhang@marvell.com> References: <1467709071-3667-1-git-send-email-jszhang@marvell.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] tick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer Git-Commit-ID: 5130213721d01b6632c255d4295a8102cbb58379 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 5130213721d01b6632c255d4295a8102cbb58379 Gitweb: http://git.kernel.org/tip/5130213721d01b6632c255d4295a8102cbb58379 Author: Jisheng Zhang AuthorDate: Tue, 5 Jul 2016 16:57:51 +0800 Committer: Thomas Gleixner CommitDate: Tue, 5 Jul 2016 17:02:19 +0200 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 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 --- kernel/time/tick-broadcast-hrtimer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/tick-broadcast-hrtimer.c b/kernel/time/tick-broadcast-hrtimer.c index 53d7184..690b797 100644 --- 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 |