All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mateusz Berezecki <mateuszb@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: __udivdi3 and linux kernel u64 division question [x86]
Date: Tue, 24 May 2005 14:29:44 +0200	[thread overview]
Message-ID: <42931E38.6030403@gmail.com> (raw)

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?

             reply	other threads:[~2005-05-24 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24 12:29 Mateusz Berezecki [this message]
2005-05-24 12:37 ` __udivdi3 and linux kernel u64 division question [x86] Arjan van de Ven
2005-05-24 13:08 ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42931E38.6030403@gmail.com \
    --to=mateuszb@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.