Re: [GIT PULL] iscsi-target merge for v3.1-rc1

Andrew Morton
2011-07-25T23:51:46Z

On Mon, 25 Jul 2011 16:37:39 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> On Sat, 23 Jul 2011 16:16:15 -0700
> "Nicholas A. Bellinger" <nab@linux-iscsi.org> wrote:
>
> > Please go ahead and pull from:
> >
> > master.kernel.org:/pub/scm/linux/kernel/git/nab/target-pending.git for-linus-merge
>
> i386 allyesconfig:
>
> ERROR: "__udivdi3" [drivers/target/target_core_mod.ko] undefined!
>
> somewhere in drivers/target/target_core_transport.c:transport_allocate_data_tasks().

Probably the best place to fix this is within DIV_ROUND_UP(): make it
handle 64-bits on 32-bit.

This will have the pleasing side-effect of breaking
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c, which felt a need to duplicate the
existing DIV_ROUND_UP() implementation.