Re: [PATCH] Fix do_div() for all architectures

Bernardo Innocenti (bernie@develer.com)
Mon, 7 Jul 2003 06:26:08 +0200


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/