From patchwork Sat Mar 12 17:08:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 630101 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2CH8fnL029298 for ; Sat, 12 Mar 2011 17:08:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754413Ab1CLRIj (ORCPT ); Sat, 12 Mar 2011 12:08:39 -0500 Received: from hiauly1.hia.nrc.ca ([132.246.10.84]:2083 "EHLO hiauly1.hia.nrc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754250Ab1CLRIj (ORCPT ); Sat, 12 Mar 2011 12:08:39 -0500 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id 5AC2B5014; Sat, 12 Mar 2011 12:08:33 -0500 (EST) Date: Sat, 12 Mar 2011 12:08:32 -0500 From: John David Anglin To: linux-parisc@vger.kernel.org Subject: [parisc] [PATCH] timer_interrupt: Fix "SLOW!" warning on rp3440 Message-ID: <20110312170831.GA15698@hiauly1.hia.nrc.ca> Reply-To: John David Anglin MIME-Version: 1.0 Content-Disposition: inline Organization: nrc.ca User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 12 Mar 2011 17:08:41 +0000 (UTC) diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 05511cc..63071c4 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c @@ -76,7 +76,7 @@ irqreturn_t __irq_entry timer_interrupt(int irq, void *dev_id) cycles_elapsed = now - next_tick; - if ((cycles_elapsed >> 6) < cpt) { + if ((cycles_elapsed >> 7) < cpt) { /* use "cheap" math (add/subtract) instead * of the more expensive div/mul method */