Re: can I use u64 on an i386

From: Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Date: Wed Aug 02 2000 - 08:01:15 EST


sat wrote:
> Hello all,
> I am having a small problem with the data type __u64 as my module uses
> variable operations with that type.The module is getting compiled but when I
> try to link it , it fails giving error " __udivdi3 symbol not recognised."
> Does this mean that it can be done only in case of alpha architectures.

Do you really need 64 bit division ?
Can't they be replaced by bit shifts ?

> I also tried a small program with "unsigned long long "and it worked fine
> does that mean, probably ,gcc is taking care of its internal manipulations.

Probably your program was linked with gcc internal library. Kernel generally
is not.

--
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST