All of lore.kernel.org
 help / color / mirror / Atom feed
* __udivdi3 and linux kernel u64 division question [x86]
@ 2005-05-24 12:29 Mateusz Berezecki
  2005-05-24 12:37 ` Arjan van de Ven
  2005-05-24 13:08 ` Jan-Benedict Glaw
  0 siblings, 2 replies; 3+ messages in thread
From: Mateusz Berezecki @ 2005-05-24 12:29 UTC (permalink / raw)
  To: linux-kernel

Hi list members,

After a failure of compilation of the similar code snippet


u64 mconst = somebig64bitvalue;
u64 tmp = some32bitvalue;
u64 r = mconst / tmp;

I encounter compilation error and gcc reporting __udivdi3 has not been
found!
After firing up cscope I found that this function has never(?) been
implemented for
x86 architecture. How is it possible that during compilation process of
some module
make system tries to link with nonexisting function?

I've also found a do_div() and it was sufficent for my purposes but Im
still curious about
__udivdi3. Can someone explain this issue to me?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-24 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24 12:29 __udivdi3 and linux kernel u64 division question [x86] Mateusz Berezecki
2005-05-24 12:37 ` Arjan van de Ven
2005-05-24 13:08 ` Jan-Benedict Glaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.