Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 15 Feb 2003 20:59:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 15 Feb 2003 20:59:21 -0500 Received: from dp.samba.org ([66.70.73.150]:25061 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Sat, 15 Feb 2003 20:59:20 -0500 Date: Sun, 16 Feb 2003 13:08:08 +1100 From: Anton Blanchard To: Tim Schmielau Cc: lkml , "Randy.Dunlap" , Denis Vlasenko Subject: Re: [PATCH] make jiffies wrap 5 min after boot Message-ID: <20030216020808.GF9833@krispykreme> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 451 Lines: 14 Hi, > +#define INITIAL_JIFFIES (0xffffffffUL & (unsigned long)(-300*HZ)) In order to make 64bit arches wrap too, you might want to use -1UL here. Not that jiffies should wrap on a 64bit machine... Anton - 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/