lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix2 to putback_lru_page()/unevictable page handling rework v3
> Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
>
> include/linux/mm.h | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> Index: linux-2.6.26-rc5-mm3/include/linux/mm.h
> ===================================================================
> --- linux-2.6.26-rc5-mm3.orig/include/linux/mm.h 2008-06-24 12:54:41.000000000 -0400
> +++ linux-2.6.26-rc5-mm3/include/linux/mm.h 2008-06-24 13:25:29.000000000 -0400
> @@ -706,13 +706,12 @@ static inline int page_mapped(struct pag
> extern void show_free_areas(void);
>
> #ifdef CONFIG_SHMEM
> -extern struct address_space *shmem_lock(struct file *file, int lock,
> - struct user_struct *user);
> +extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
> #else
> -static inline struct address_space *shmem_lock(struct file *file, int lock,
> +static inline int shmem_lock(struct file *file, int lock,
> struct user_struct *user)
> {
> - return NULL;
> + return 0;
> }
> #endif
> struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags);

Sure.
I forgot "quilt add mm.h" operation ;-)

Thank you!

Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>


\
 
 \ /
  Last update: 2008-06-24 19:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site