~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to mm/internal.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        return page_private(page);
67
67
}
68
68
 
 
69
/* mm/util.c */
 
70
void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma,
 
71
                struct vm_area_struct *prev, struct rb_node *rb_parent);
 
72
 
69
73
#ifdef CONFIG_MMU
70
74
extern long mlock_vma_pages_range(struct vm_area_struct *vma,
71
75
                        unsigned long start, unsigned long end);
162
166
}
163
167
 
164
168
/*
165
 
 * Iterator over all subpages withing the maximally aligned gigantic
 
169
 * Iterator over all subpages within the maximally aligned gigantic
166
170
 * page 'base'.  Handle any discontiguity in the mem_map.
167
171
 */
168
172
static inline struct page *mem_map_next(struct page *iter,
245
249
}
246
250
#endif /* CONFIG_SPARSEMEM */
247
251
 
248
 
int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
249
 
                     unsigned long start, int len, unsigned int foll_flags,
250
 
                     struct page **pages, struct vm_area_struct **vmas,
251
 
                     int *nonblocking);
252
 
 
253
252
#define ZONE_RECLAIM_NOSCAN     -2
254
253
#define ZONE_RECLAIM_FULL       -1
255
254
#define ZONE_RECLAIM_SOME       0