From: Jiang Liu Date: Thu, 27 Jun 2013 23:52:08 +0000 (+1000) Subject: mm/unicore32: fix stale comment about VALID_PAGE() X-Git-Tag: next-20130628~3^2~437 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ffaecee57d29f27eba86e5c2e72003c1f0cbe4d4;p=karo-tx-linux.git mm/unicore32: fix stale comment about VALID_PAGE() VALID_PAGE() has been removed from kernel long time ago, so fix the comment. Signed-off-by: Jiang Liu Acked-by: Guan Xuetao Signed-off-by: Andrew Morton --- diff --git a/arch/unicore32/include/asm/memory.h b/arch/unicore32/include/asm/memory.h index 5eddb997defe..debafc40200a 100644 --- a/arch/unicore32/include/asm/memory.h +++ b/arch/unicore32/include/asm/memory.h @@ -98,12 +98,6 @@ /* * 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 * *