Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266810AbTGGENz (ORCPT ); Mon, 7 Jul 2003 00:13:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266801AbTGGENy (ORCPT ); Mon, 7 Jul 2003 00:13:54 -0400 Received: from adsl-110-19.38-151.net24.it ([151.38.19.110]:15272 "HELO develer.com") by vger.kernel.org with SMTP id S266810AbTGGEMB (ORCPT ); Mon, 7 Jul 2003 00:12:01 -0400 From: Bernardo Innocenti Organization: Develer To: Linus Torvalds Subject: Re: [PATCH] Fix do_div() for all architectures Date: Mon, 7 Jul 2003 06:26:08 +0200 User-Agent: KMail/1.5.9 Cc: , Andrea Arcangeli , Peter Chubb , Andrew Morton , Ian Molton References: <200307060133.15312.bernie@develer.com> In-Reply-To: <200307060133.15312.bernie@develer.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200307070626.08215.bernie@develer.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 24 On Sunday 06 July 2003 01:33, Bernardo Innocenti wrote: > - add __attribute__((pure)) to __div64_32() prototype so > the compiler knows global memory isn't clobbered; Hmmm... I've just found out that the pure attribute wasn't supported until gcc 2.96. Shall I get rid of it or maybe add something in linux/compiler.h? Please note that __attribute__((const)) is not applicable to this case according to gcc documentation. -- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/ Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html - 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/