|
@@ -558,10 +558,9 @@ static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
|
|
* track_pfn_insert is called when a _new_ single pfn is established
|
|
* track_pfn_insert is called when a _new_ single pfn is established
|
|
* by vm_insert_pfn().
|
|
* by vm_insert_pfn().
|
|
*/
|
|
*/
|
|
-static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
|
|
|
|
- pfn_t pfn)
|
|
|
|
|
|
+static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
|
|
|
|
+ pfn_t pfn)
|
|
{
|
|
{
|
|
- return 0;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -593,8 +592,8 @@ static inline void untrack_pfn_moved(struct vm_area_struct *vma)
|
|
extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
|
|
extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
|
|
unsigned long pfn, unsigned long addr,
|
|
unsigned long pfn, unsigned long addr,
|
|
unsigned long size);
|
|
unsigned long size);
|
|
-extern int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
|
|
|
|
- pfn_t pfn);
|
|
|
|
|
|
+extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
|
|
|
|
+ pfn_t pfn);
|
|
extern int track_pfn_copy(struct vm_area_struct *vma);
|
|
extern int track_pfn_copy(struct vm_area_struct *vma);
|
|
extern void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn,
|
|
extern void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn,
|
|
unsigned long size);
|
|
unsigned long size);
|