All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	kzak@redhat.com
Subject: mmotm-1113: efi.c:  __divdi3 undefined (i386)
Date: Sun, 15 Nov 2009 10:46:31 -0800	[thread overview]
Message-ID: <4B004C87.7010406@oracle.com> (raw)

on i386 builds:

fs/built-in.o: In function `last_lba':
efi.c:(.text+0x9d9fe): undefined reference to `__divdi3'


-       return (bdev->bd_inode->i_size >> 9) - 1ULL;
+       return (bdev->bd_inode->i_size / bdev_logical_block_size(bdev)) - 1ULL;

-- 
~Randy

             reply	other threads:[~2009-11-15 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 18:46 Randy Dunlap [this message]
2009-11-16 12:19 ` mmotm-1113: efi.c: __divdi3 undefined (i386) Karel Zak
2009-11-16 17:55   ` Randy Dunlap

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=4B004C87.7010406@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=kzak@redhat.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.