diff options
Diffstat (limited to 'openvz-sources/022.064/5001_diff-ms-nthpage-20051020.patch')
-rw-r--r-- | openvz-sources/022.064/5001_diff-ms-nthpage-20051020.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/openvz-sources/022.064/5001_diff-ms-nthpage-20051020.patch b/openvz-sources/022.064/5001_diff-ms-nthpage-20051020.patch deleted file mode 100644 index af17e50..0000000 --- a/openvz-sources/022.064/5001_diff-ms-nthpage-20051020.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naru a/include/linux/mm.h b/include/linux/mm.h ---- a/include/linux/mm.h 2005-10-20 02:28:22 -07:00 -+++ b/include/linux/mm.h 2005-10-20 02:28:22 -07:00 -@@ -41,6 +41,8 @@ - #define MM_VM_SIZE(mm) TASK_SIZE - #endif - -+#define nth_page(page,n) (pfn_to_page(page_to_pfn((page)) + n)) -+ - /* - * Linux kernel virtual memory manager primitives. - * The idea being to have a "virtual" mm in the same way -# This is a BitKeeper generated diff -Nru style patch. -# -# ChangeSet -# 2004/10/28 08:18:25-07:00 jgarzik@pobox.com -# [PATCH] add nth_page() -# -# Provide a function to get the pageframe number of the nth page at -# scatterlist.page. We cannot just index off scatterlist.page because the -# physically-contiguous pages may not be contiguous in mem_map[]. -# -# Signed-off-by: Andrew Morton <akpm@osdl.org> -# Signed-off-by: Linus Torvalds <torvalds@osdl.org> -# -# include/linux/mm.h -# 2004/10/28 00:56:39-07:00 jgarzik@pobox.com +2 -0 -# add nth_page() -# |