From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756950AbcGGImy (ORCPT ); Thu, 7 Jul 2016 04:42:54 -0400 Received: from terminus.zytor.com ([198.137.202.10]:39102 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756829AbcGGImu (ORCPT ); Thu, 7 Jul 2016 04:42:50 -0400 Date: Thu, 7 Jul 2016 01:42:07 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: josh@joshtriplett.org, lenb@kernel.org, clm@fb.com, mingo@kernel.org, arjan@infradead.org, hpa@zytor.com, riel@redhat.com, paulmck@linux.vnet.ibm.com, peterz@infradead.org, tglx@linutronix.de, torvalds@linux-foundation.org, fweisbec@gmail.com, edumazet@google.com, linux-kernel@vger.kernel.org, linux@sciencehorizons.net Reply-To: lenb@kernel.org, josh@joshtriplett.org, clm@fb.com, mingo@kernel.org, arjan@infradead.org, hpa@zytor.com, torvalds@linux-foundation.org, peterz@infradead.org, tglx@linutronix.de, paulmck@linux.vnet.ibm.com, riel@redhat.com, fweisbec@gmail.com, edumazet@google.com, linux-kernel@vger.kernel.org, linux@sciencehorizons.net In-Reply-To: <20160704094341.456452642@linutronix.de> References: <20160704094341.456452642@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] timers, drivers/tty/metag_da: Initialize the poll timer as pinned Git-Commit-ID: 01bab536b1fe982fcba8144e2ee11ac889a22f0e 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: 01bab536b1fe982fcba8144e2ee11ac889a22f0e Gitweb: http://git.kernel.org/tip/01bab536b1fe982fcba8144e2ee11ac889a22f0e Author: Thomas Gleixner AuthorDate: Mon, 4 Jul 2016 09:50:21 +0000 Committer: Ingo Molnar CommitDate: Thu, 7 Jul 2016 10:25:14 +0200 timers, drivers/tty/metag_da: Initialize the poll timer as pinned Pinned timers must carry the pinned attribute in the timer structure itself, so convert the code to the new API. No functional change. Signed-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker Cc: Arjan van de Ven Cc: Chris Mason Cc: Eric Dumazet Cc: George Spelvin Cc: Josh Triplett Cc: Len Brown Cc: Linus Torvalds Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rik van Riel Cc: rt@linutronix.de Link: http://lkml.kernel.org/r/20160704094341.456452642@linutronix.de Signed-off-by: Ingo Molnar --- drivers/tty/metag_da.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/metag_da.c b/drivers/tty/metag_da.c index 9325262..25ccef2 100644 --- a/drivers/tty/metag_da.c +++ b/drivers/tty/metag_da.c @@ -323,12 +323,12 @@ static void dashtty_timer(unsigned long ignored) if (channel >= 0) fetch_data(channel); - mod_timer_pinned(&poll_timer, jiffies + DA_TTY_POLL); + mod_timer(&poll_timer, jiffies + DA_TTY_POLL); } static void add_poll_timer(struct timer_list *poll_timer) { - setup_timer(poll_timer, dashtty_timer, 0); + setup_pinned_timer(poll_timer, dashtty_timer, 0); poll_timer->expires = jiffies + DA_TTY_POLL; /*