public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mmotm-1113: efi.c:  __divdi3 undefined (i386)
@ 2009-11-15 18:46 Randy Dunlap
  2009-11-16 12:19 ` Karel Zak
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2009-11-15 18:46 UTC (permalink / raw)
  To: LKML, Andrew Morton, kzak

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

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

end of thread, other threads:[~2009-11-16 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-15 18:46 mmotm-1113: efi.c: __divdi3 undefined (i386) Randy Dunlap
2009-11-16 12:19 ` Karel Zak
2009-11-16 17:55   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox