mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 06:43:09 +00:00
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>
This commit is contained in:
parent
924b387a72
commit
b26a3dfd4c
@ -98,12 +98,6 @@
|
|||||||
/*
|
/*
|
||||||
* Conversion between a struct page and a physical address.
|
* 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
|
* page_to_pfn(page) convert a struct page * to a PFN number
|
||||||
* pfn_to_page(pfn) convert a _valid_ PFN number to struct page *
|
* pfn_to_page(pfn) convert a _valid_ PFN number to struct page *
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user