freebsd-dev/module
Ying Zhu c12936b141 Fix module probe failure on 32-bit systems
Previous commit 7ef5e54e2e caused
module probe failure on 32-bit systems, dmesg showed

  Unknown symbol __moddi3

This was caused by the modulo operation 'gethrtime() % tqs->stqs_count'
in the committed code.  Instead of implementing __moddi3 for all 32-bit
systems, Behlendorf advised we can just cast the return value of
gethrtime() into a uint64_t, since gethrtime does not return negative
value on all circumstances we need not care about the potential overflow.

Signed-off-by: Ying Zhu <casualfisher@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1551
2013-06-27 10:01:25 -07:00
..
avl Add script for builtin module building. 2012-07-26 13:45:09 -07:00
nvpair Register correct handlers in nvlist_alloc() 2013-06-20 09:58:15 -07:00
unicode Add script for builtin module building. 2012-07-26 13:45:09 -07:00
zcommon Add snapdev=[hidden|visible] dataset property 2013-03-05 12:37:54 -08:00
zfs Fix module probe failure on 32-bit systems 2013-06-27 10:01:25 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
.gitignore gitignore: anchor entries at their respective directory 2013-04-02 10:50:17 -07:00
Makefile.in Add KMODDIR to install target 2013-03-06 15:46:40 -08:00