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

From: Bernardo Innocenti (
Date: Sun Jul 06 2003 - 23:26:08 EST

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.

Please don't send Word attachments -

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:28 EST