From: Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
To: Paul Menage <menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: Linux Containers
<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
Balbir Singh
<balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
Pavel Emelianov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH -mmotm] res_counter: fix building failure
Date: Wed, 02 Jul 2008 14:49:49 +0800 [thread overview]
Message-ID: <486B250D.3090605@cn.fujitsu.com> (raw)
In-Reply-To: <6599ad830807012345r4f02f9acq3c8e9be633e109e8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Paul Menage wrote:
> On Tue, Jul 1, 2008 at 11:16 PM, Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> wrote:
>> kernel/res_counter.c: In function 'res_counter_memparse_write_strategy':
>> kernel/res_counter.c:115: error: implicit declaration of function 'PAGE_ALIGN'
>>
>> Signed-off-by: Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
>
> Acked-by: Paul Menage <menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
>
> Thanks - what architecture did it break on?
>
On my x86_32.
I guess this break has something to do with:
http://marc.info/?l=linux-mm&m=121389282702302&w=2
([PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit values on 32-bit)
You tested the patch before that patch was accepted by Andrew.
> Paul
>
>> ---
>>
>> should follow cgroup-files-convert-res_counter_write-to-be-a-cgroups-write_string-handler.patch
>>
>> --- linux-mm/kernel/res_counter.c.bak 2008-07-02 14:05:37.000000000 +0800
>> +++ linux-mm/kernel/res_counter.c 2008-07-02 14:07:36.000000000 +0800
>> @@ -13,6 +13,7 @@
>> #include <linux/slab.h>
>> #include <linux/res_counter.h>
>> #include <linux/uaccess.h>
>> +#include <linux/mm.h>
>>
>> void res_counter_init(struct res_counter *counter)
>> {
>>
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Li Zefan <lizf@cn.fujitsu.com>
To: Paul Menage <menage@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Pavel Emelianov <xemul@openvz.org>,
LKML <linux-kernel@vger.kernel.org>,
Linux Containers <containers@lists.linux-foundation.org>
Subject: Re: [PATCH -mmotm] res_counter: fix building failure
Date: Wed, 02 Jul 2008 14:49:49 +0800 [thread overview]
Message-ID: <486B250D.3090605@cn.fujitsu.com> (raw)
In-Reply-To: <6599ad830807012345r4f02f9acq3c8e9be633e109e8@mail.gmail.com>
Paul Menage wrote:
> On Tue, Jul 1, 2008 at 11:16 PM, Li Zefan <lizf@cn.fujitsu.com> wrote:
>> kernel/res_counter.c: In function 'res_counter_memparse_write_strategy':
>> kernel/res_counter.c:115: error: implicit declaration of function 'PAGE_ALIGN'
>>
>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
>
> Acked-by: Paul Menage <menage@google.com>
>
> Thanks - what architecture did it break on?
>
On my x86_32.
I guess this break has something to do with:
http://marc.info/?l=linux-mm&m=121389282702302&w=2
([PATCH -mm] PAGE_ALIGN(): correctly handle 64-bit values on 32-bit)
You tested the patch before that patch was accepted by Andrew.
> Paul
>
>> ---
>>
>> should follow cgroup-files-convert-res_counter_write-to-be-a-cgroups-write_string-handler.patch
>>
>> --- linux-mm/kernel/res_counter.c.bak 2008-07-02 14:05:37.000000000 +0800
>> +++ linux-mm/kernel/res_counter.c 2008-07-02 14:07:36.000000000 +0800
>> @@ -13,6 +13,7 @@
>> #include <linux/slab.h>
>> #include <linux/res_counter.h>
>> #include <linux/uaccess.h>
>> +#include <linux/mm.h>
>>
>> void res_counter_init(struct res_counter *counter)
>> {
>>
>
>
next prev parent reply other threads:[~2008-07-02 6:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-02 6:16 [PATCH -mmotm] res_counter: fix building failure Li Zefan
[not found] ` <486B1D3D.5070805-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2008-07-02 6:45 ` Paul Menage
2008-07-02 6:45 ` Paul Menage
[not found] ` <6599ad830807012345r4f02f9acq3c8e9be633e109e8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-02 6:49 ` Li Zefan [this message]
2008-07-02 6:49 ` Li Zefan
[not found] ` <486B250D.3090605-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2008-07-03 9:09 ` Balbir Singh
2008-07-03 9:09 ` Balbir Singh
2008-07-03 10:17 ` Andrea Righi
2008-07-03 10:17 ` Andrea Righi
-- strict thread matches above, loose matches on Subject: below --
2008-07-02 6:16 Li Zefan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=486B250D.3090605@cn.fujitsu.com \
--to=lizf-bthxqxjhjhxqfuhtdcdx3a@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.