Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1430731
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Thomas Gleixner <tglx@linutronix.de> |
| Newsgroups | linux.kernel |
| Subject | [patch V3 06/22] drivers/tty/metag_da: Initialize timer as pinned |
| Date | Fri, 24 Jun 2016 16:50:02 +0200 |
| Message-ID | <rNAAG-Rq-9@gated-at.bofh.it> (permalink) |
| References | <rNAqZ-NX-3@gated-at.bofh.it> |
| X-Original-To | LKML <linux-kernel@vger.kernel.org> |
| User-Agent | quilt/0.63-1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15 |
| Content-Disposition | inline; filename=driversttymetag_da_Initialize_timer_as_pinned.patch |
| X-Linutronix-Spam-Score | -1.0 |
| X-Linutronix-Spam-Level | - |
| X-Linutronix-Spam-Status | No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>, Eric Dumazet <edumazet@google.com>, Frederic Weisbecker <fweisbec@gmail.com>, Chris Mason <clm@fb.com>, Arjan van de Ven <arjan@infradead.org>, rt@linutronix.de, Rik van Riel <riel@redhat.com>, Linus Torvalds <torvalds@linux-foundation.org>, George Spelvin <linux@sciencehorizons.net>, Len Brown <lenb@kernel.org>, Josh Triplett <josh@joshtriplett.org> |
| X-Original-Date | Fri, 24 Jun 2016 14:32:06 -0000 |
| X-Original-Message-ID | <20160624141721.919909802@linutronix.de> |
| X-Original-References | <20160624140325.554996200@linutronix.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1430731 |
Show key headers only | View raw
Pinned timers must carry that attribute in the timer itself. No functional
change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Mason <clm@fb.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: rt@linutronix.de
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Arjan van de Ven <arjan@infradead.org>
---
drivers/tty/metag_da.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/tty/metag_da.c
+++ b/drivers/tty/metag_da.c
@@ -323,12 +323,12 @@ static void dashtty_timer(unsigned long
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;
/*
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[patch V3 00/22] timer: Refactor the timer wheel Thomas Gleixner <tglx@linutronix.de> - 2016-06-24 16:50 +0200
[patch V3 06/22] drivers/tty/metag_da: Initialize timer as pinned Thomas Gleixner <tglx@linutronix.de> - 2016-06-24 16:50 +0200
[patch V3 02/22] x86/apic/uv: Initialize timer as pinned Thomas Gleixner <tglx@linutronix.de> - 2016-06-24 16:50 +0200
Re: [patch V3 00/22] timer: Refactor the timer wheel Josh Triplett <josh@joshtriplett.org> - 2016-06-24 19:10 +0200
Re: [patch V3 00/22] timer: Refactor the timer wheel "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-06-27 06:30 +0200
Re: [patch V3 00/22] timer: Refactor the timer wheel "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-06-28 02:00 +0200
csiph-web