diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-06-07 10:08:20 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-06-17 18:17:07 +1000 |
commit | b7af628e26e9fe4a726fff1377aacad81e0cd6c7 (patch) | |
tree | c3ea3208a6386a80367f595bff9dc6f99ffd7a1a /arch/cris/include/asm/page.h | |
parent | 98f3eabd78aef4d6d016d237bbb2e648abdaf69e (diff) |
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 <jiang.liu@huawei.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/cris/include/asm/page.h')
-rw-r--r-- | arch/cris/include/asm/page.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/cris/include/asm/page.h b/arch/cris/include/asm/page.h index be45ee366be9..dfc53f9b88ec 100644 --- a/arch/cris/include/asm/page.h +++ b/arch/cris/include/asm/page.h @@ -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 |