Thread (1 message) 1 message, 1 author, 2013-05-29
STALE4869d

[PATCH, v2 2/5] mm/ARM: fix stale comment about VALID_PAGE()

From: Jiang Liu <hidden>
Date: 2013-05-29 15:09:21
Also in: linux-arch, linux-mm, lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

VALID_PAGE() has been removed from kernel long time ago,
so fix the comment.

Signed-off-by: Jiang Liu <redacted>
Cc: Russell King <redacted>
Cc: Will Deacon <redacted>
Cc: Nicolas Pitre <redacted>
Cc: Stephen Boyd <redacted>
Cc: Giancarlo Asnaghi <redacted>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
---
 arch/arm/include/asm/memory.h | 6 ------
 1 file changed, 6 deletions(-)
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h
index 57870ab..0cd2a3d 100644
--- a/arch/arm/include/asm/memory.h
+++ b/arch/arm/include/asm/memory.h
@@ -260,12 +260,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 *
  *
-- 
1.8.1.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help