[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DFA64E.6040800@oracle.com>
Date: Fri, 10 Apr 2009 13:04:30 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Randy Dunlap <randy.dunlap@...cle.com>,
linux-kernel@...r.kernel.org, hugh@...itas.com
Subject: Re: mmotm 2009-04-10-02-21 uploaded (shmem)
Andrew Morton wrote:
> On Fri, 10 Apr 2009 12:53:23 -0700
> Randy Dunlap <randy.dunlap@...cle.com> wrote:
>
>> akpm@...ux-foundation.org wrote:
>>> The mm-of-the-moment snapshot 2009-04-10-02-21 has been uploaded to
>>>
>>> http://userweb.kernel.org/~akpm/mmotm/
>>>
>>> and will soon be available at
>>>
>>> git://git.zen-sources.org/zen/mmotm.git
>>>
>>> It contains the following patches against 2.6.30-rc1:
>>
>> I get a few of these build errors, but I don't see why.
>> (config attached)
>>
>>
>> mm/shmem.c: In function 'shmem_file_setup':
>> mm/shmem.c:2622: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
>
> Thanks.
>
> --- a/mm/shmem.c~shmem-respect-max_lfs_filesize-fix
> +++ a/mm/shmem.c
> @@ -24,6 +24,7 @@
> #include <linux/init.h>
> #include <linux/vfs.h>
> #include <linux/mount.h>
> +#include <linux/pagemap.h>
> #include <linux/file.h>
> #include <linux/mm.h>
> #include <linux/module.h>
Just move that #include up from under the #ifdef CONFIG_SHMEM then.
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists