Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750998AbVK1Ecs (ORCPT ); Sun, 27 Nov 2005 23:32:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751037AbVK1Ecs (ORCPT ); Sun, 27 Nov 2005 23:32:48 -0500 Received: from xenotime.net ([66.160.160.81]:26792 "HELO xenotime.net") by vger.kernel.org with SMTP id S1750994AbVK1Ecs (ORCPT ); Sun, 27 Nov 2005 23:32:48 -0500 Date: Sun, 27 Nov 2005 20:33:17 -0800 From: "Randy.Dunlap" To: "James G. Sack (jim)" Cc: linux-kernel@vger.kernel.org, gregkh@suse.de Subject: Re: [RFC] HOWTO do Linux kernel development - take 3 Message-Id: <20051127203317.623f9a7c.rdunlap@xenotime.net> In-Reply-To: References: Organization: YPO4 X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 862 Lines: 37 On Wed, 23 Nov 2005 22:16:40 -0800 James G. Sack (jim) wrote: > Pardon the technical question, but.. > > I wonder if you could either elaborate or give a reference to what is > meant by > > "Arbitrary long long divisions .. not allowed" (if not already answered) short answer: see include/asm-generic/div64.h longer answer: Not supported: long long numerator, divisor, dividend; /* init. numerator & divisor */ dividend = numerator / divisor; Is supported: uin64_t numerator, dividend; uint32_t divisor, remainder; /* init. numerator & divisor */ remainder = do_div(&numerator, divisor); --- ~Randy - 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/