linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2009-01-19  2:54 Gao, Yunpeng
  2009-01-19  3:07 ` your mail Matthew Wilcox
  2009-01-19  4:25 ` how to fix nand driver build breakage KOSAKI Motohiro
  0 siblings, 2 replies; 4+ messages in thread
From: Gao, Yunpeng @ 2009-01-19  2:54 UTC (permalink / raw)
  To: linux-ia64; +Cc: linux-kernel

Hi all,

I have to use 64bit variable in my 2.6.27 kernel NAND driver as below:
---------------------------------------------------------------------------
u64 NAND_capacity;
unsigned int block_num, block_size;
...
block_num = NAND_capacity / block_size;
---------------------------------------------------------------------------
but it failed when compiling and reports 'undefined reference to `__udivdi3'.

Does any idea about this? I need to include some special head file or change something in Kconfig?

BTW, the environment is Fedora Core 9, gcc 4.3.0. 

Thanks a lot.

Rgds,
Yunpeng Gao



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

end of thread, other threads:[~2009-01-19 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-19  2:54 Gao, Yunpeng
2009-01-19  3:07 ` your mail Matthew Wilcox
2009-01-19  4:25 ` how to fix nand driver build breakage KOSAKI Motohiro
2009-01-19 11:46   ` Simon Holm Thøgersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).