Re: mmotm 2010-11-03-12-17: memcg build fail

From: Dave Young
Date: Fri Nov 05 2010 - 03:08:30 EST


On Fri, Nov 5, 2010 at 2:39 PM, Minchan Kim <minchan.kim@xxxxxxxxx> wrote:
> On Fri, Nov 5, 2010 at 2:55 PM, Dave Young <hidave.darkstar@xxxxxxxxx> wrote:
>> Forgot cc lkml
>>
>> On Fri, Nov 5, 2010 at 1:54 PM, Dave Young <hidave.darkstar@xxxxxxxxx> wrote:
>>> Hi,
>>>
>>> Build failed without __divdi3 on i386, known issue?
>>>
>>> mm/built-in.o: In function `mem_cgroup_dirty_info':
>>> /home/dave/vdb/build/mm/linux-2.6.36/mm/memcontrol.c:1251: undefined
>>> reference to `__divdi3'
>>> /home/dave/vdb/build/mm/linux-2.6.36/mm/memcontrol.c:1259: undefined
>>> reference to `__divdi3'
>>> make: *** [.tmp_vmlinux1] Error 1
>>>
>
> We should have used do_div.
> Below patch solve the problem?

Hi,

quilt report it as malformed, I create a patch mannualy, and It works.
Feel free to add my tested-by line
--
Regards
dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/