Skip to content

Commit

Permalink
mm/unicore32: fix stale comment about VALID_PAGE()
Browse files Browse the repository at this point in the history
VALID_PAGE() has been removed from kernel long time ago,
so fix the comment.

Signed-off-by: Jiang Liu <[email protected]>
Acked-by: Guan Xuetao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
jiangliu authored and torvalds committed Jul 3, 2013
1 parent 924b387 commit b26a3df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/unicore32/include/asm/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
*
Expand Down

0 comments on commit b26a3df

Please sign in to comment.