mm/ARM: fix stale comment about VALID_PAGE()
authorJiang Liu <[email protected]>
Wed, 3 Jul 2013 22:04:40 +0000 (15:04 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 Jul 2013 23:07:39 +0000 (16:07 -0700)
VALID_PAGE() has been removed from kernel long time ago,
so fix the comment.

Signed-off-by: Jiang Liu <[email protected]>
Cc: Russell King <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Giancarlo Asnaghi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/include/asm/memory.h

index 584786f740f938a67a1ce74c1d6062c32abb810a..e750a938fd3ce283ccd351cb73ed9c3d8df84e75 100644 (file)
@@ -276,12 +276,6 @@ static inline __deprecated void *bus_to_virt(unsigned long x)
 /*
  * Conversion between a struct page and a physical address.
  *
- * Note: when converting an unknown physical address to a
- * struct page, the resulting pointer must be validated
- * using VALID_PAGE().  It must return an invalid struct page
- * for any physical address not corresponding to a system
- * RAM address.
- *
  *  page_to_pfn(page)  convert a struct page * to a PFN number
  *  pfn_to_page(pfn)   convert a _valid_ PFN number to struct page *
  *