Re: mmotm 2009-04-10-02-21 uploaded (shmem)

From: Hugh Dickins
Date: Fri Apr 10 2009 - 16:16:50 EST


On Fri, 10 Apr 2009, Andrew Morton wrote:
> On Fri, 10 Apr 2009 12:53:23 -0700
> Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
>
> > mm/shmem.c: In function 'shmem_file_setup':
> > mm/shmem.c:2622: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
>
> Thanks.

Thanks Randy, thanks Andrew: sorry about that,
seems I only tested !CONFIG_SHMEM on 64-bit.

Hugh

>
> --- 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>
> _
--
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/