]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/unicore32: fix stale comment about VALID_PAGE()
authorJiang Liu <liuj97@gmail.com>
Fri, 7 Jun 2013 00:08:20 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:30 +0000 (15:42 +1000)
VALID_PAGE() has been removed from kernel long time ago,
so fix the comment.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/unicore32/include/asm/memory.h

index 5eddb997defef4dc49a054771f1f7eb4dd913538..debafc40200a4faf985c737aefbae80db4806e1c 100644 (file)
 /*
  * 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 *
  *