- mm-remove-vmalloc_to_pfn.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     mm: remove vmalloc_to_pfn

has been removed from the -mm tree.  Its filename is

     mm-remove-vmalloc_to_pfn.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.


From: Nick Piggin <npiggin@xxxxxxx>

vmalloc_to_pfn no longer has any callers left in the kernel.  It was
previously used so remap_pfn_range can be used on vmalloc memory, but is
obsolete with the introduction of remap_vmalloc_range.

Signed-off-by: Nick Piggin <npiggin@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/mm.h |    1 -
 mm/memory.c        |   10 ----------
 mm/nommu.c         |    6 ------
 3 files changed, 17 deletions(-)

diff -puN include/linux/mm.h~mm-remove-vmalloc_to_pfn include/linux/mm.h
--- devel/include/linux/mm.h~mm-remove-vmalloc_to_pfn	2006-04-21 00:35:05.000000000 -0700
+++ devel-akpm/include/linux/mm.h	2006-04-21 00:35:05.000000000 -0700
@@ -1010,7 +1010,6 @@ static inline unsigned long vma_pages(st
 
 struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr);
 struct page *vmalloc_to_page(void *addr);
-unsigned long vmalloc_to_pfn(void *addr);
 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
 			unsigned long pfn, unsigned long size, pgprot_t);
 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
diff -puN mm/memory.c~mm-remove-vmalloc_to_pfn mm/memory.c
--- devel/mm/memory.c~mm-remove-vmalloc_to_pfn	2006-04-21 00:35:05.000000000 -0700
+++ devel-akpm/mm/memory.c	2006-04-21 00:35:05.000000000 -0700
@@ -2405,16 +2405,6 @@ struct page * vmalloc_to_page(void * vma
 
 EXPORT_SYMBOL(vmalloc_to_page);
 
-/*
- * Map a vmalloc()-space virtual address to the physical page frame number.
- */
-unsigned long vmalloc_to_pfn(void * vmalloc_addr)
-{
-	return page_to_pfn(vmalloc_to_page(vmalloc_addr));
-}
-
-EXPORT_SYMBOL(vmalloc_to_pfn);
-
 #if !defined(__HAVE_ARCH_GATE_AREA)
 
 #if defined(AT_SYSINFO_EHDR)
diff -puN mm/nommu.c~mm-remove-vmalloc_to_pfn mm/nommu.c
--- devel/mm/nommu.c~mm-remove-vmalloc_to_pfn	2006-04-21 00:35:05.000000000 -0700
+++ devel-akpm/mm/nommu.c	2006-04-21 00:35:05.000000000 -0700
@@ -167,12 +167,6 @@ struct page * vmalloc_to_page(void *addr
 	return virt_to_page(addr);
 }
 
-unsigned long vmalloc_to_pfn(void *addr)
-{
-	return page_to_pfn(virt_to_page(addr));
-}
-
-
 long vread(char *buf, char *addr, unsigned long count)
 {
 	memcpy(buf, addr, count);
_

Patches currently in -mm which might be from npiggin@xxxxxxx are

mm-vm_bug_on.patch
mm-remove-vmalloc_to_pfn.patch
mm-remove-rvmalloc.patch
mm-extra-remap_vmalloc_range-check.patch
drivers-leave-vm_flags-alone.patch
drivers-catch-and-return-remap_vmalloc_range-errors.patch
reiser4-releasepage-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux