Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933924AbaDIQxg (ORCPT ); Wed, 9 Apr 2014 12:53:36 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:62462 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933342AbaDIQxe (ORCPT ); Wed, 9 Apr 2014 12:53:34 -0400 MIME-Version: 1.0 In-Reply-To: <0286550@agluck-desk.sc.intel.com> References: <20140408153412.0648fb96@gandalf.local.home> <0286550@agluck-desk.sc.intel.com> Date: Wed, 9 Apr 2014 09:53:33 -0700 Message-ID: Subject: Re: [PATCH] time: Provide full featured jiffies_to_nsecs() function From: Tony Luck To: Linux Kernel Mailing List Cc: Steven Rostedt , Frederic Weisbecker , Ingo Molnar , Mauro Chehab Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + if (jl < 4*HZ) { That was lazy ... should be something like: + if (jl < (u64)UINT_MAX * HZ / NSEC_PER_SEC) -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/