提交 8d34c9ab 编写于 作者: J Joseph Qi

alios: jbd2: fix build warning on i386

Fix the following build warning on arch i386:

ld: fs/jbd2/journal.o: in function `jbd2_seq_stats_show':
journal.c:(.text+0x137d): undefined reference to `__udivdi3'

Fixes: 3550da0c ("alios: jbd2: add new "stats" proc file")
Reported-by: Nkbuild test robot <lkp@intel.com>
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: NJeffle Xu <jefflexu@linux.alibaba.com>
Acked-by: NCaspar Zhang <caspar@linux.alibaba.com>
上级 eefa339e
......@@ -1131,7 +1131,7 @@ static int jbd2_seq_stats_show(struct seq_file *seq, void *v)
s->stats->run.rs_request_delay, s->stats->run.rs_running,
s->stats->run.rs_locked, s->stats->run.rs_flushing,
s->stats->run.rs_logging,
s->journal->j_average_commit_time / NSEC_PER_MSEC,
div_u64(s->journal->j_average_commit_time, NSEC_PER_MSEC),
s->stats->run.rs_handle_count, s->stats->run.rs_blocks,
s->stats->run.rs_blocks_logged, HZ, jiffies_to_msecs(HZ));
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册