mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mm/CRIS: clean up unused VALID_PAGE()
VALID_PAGE() has been removed from kernel long time ago, so clean up it. Signed-off-by: Jiang Liu <[email protected]> Acked-by: Jesper Nilsson <[email protected]> Cc: Mikael Starvik <[email protected]> Cc: Jiang Liu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5b84de3464
commit
35fa075f3e
1 changed files with 0 additions and 1 deletions
|
|
@ -51,7 +51,6 @@ typedef struct page *pgtable_t;
|
|||
*/
|
||||
|
||||
#define virt_to_page(kaddr) (mem_map + (((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT))
|
||||
#define VALID_PAGE(page) (((page) - mem_map) < max_mapnr)
|
||||
#define virt_addr_valid(kaddr) pfn_valid((unsigned)(kaddr) >> PAGE_SHIFT)
|
||||
|
||||
/* convert a page (based on mem_map and forward) to a physical address
|
||||
|
|
|
|||
Loading…
Reference in a new issue