diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-07-03 18:04:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:40 -0400 |
commit | b26a3dfd4c0b888303a5909ef37febeb582e190e (patch) | |
tree | 3110f1f4d6500b1386a19602505aa2663bdfe453 /arch | |
parent | 924b387a72a02216b4899717c5d249c3ce5d11bd (diff) |
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 <jiang.liu@huawei.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/unicore32/include/asm/memory.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 @@ | |||
98 | /* | 98 | /* |
99 | * Conversion between a struct page and a physical address. | 99 | * Conversion between a struct page and a physical address. |
100 | * | 100 | * |
101 | * Note: when converting an unknown physical address to a | ||
102 | * struct page, the resulting pointer must be validated | ||
103 | * using VALID_PAGE(). It must return an invalid struct page | ||
104 | * for any physical address not corresponding to a system | ||
105 | * RAM address. | ||
106 | * | ||
107 | * page_to_pfn(page) convert a struct page * to a PFN number | 101 | * page_to_pfn(page) convert a struct page * to a PFN number |
108 | * pfn_to_page(pfn) convert a _valid_ PFN number to struct page * | 102 | * pfn_to_page(pfn) convert a _valid_ PFN number to struct page * |
109 | * | 103 | * |