summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2013-07-04 00:04:42 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:40 +0200
commit924b387a72a02216b4899717c5d249c3ce5d11bd (patch)
tree33af1ea33f6d658d66135f8659faf427d2a3dddd /arch/microblaze
parentmm/CRIS: clean up unused VALID_PAGE() (diff)
downloadlinux-924b387a72a02216b4899717c5d249c3ce5d11bd.tar.xz
linux-924b387a72a02216b4899717c5d249c3ce5d11bd.zip
mm/microblaze: 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> Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/page.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
index 85a5ae8e9bd0..fd850879854d 100644
--- a/arch/microblaze/include/asm/page.h
+++ b/arch/microblaze/include/asm/page.h
@@ -168,7 +168,6 @@ extern int page_is_ram(unsigned long pfn);
# else /* CONFIG_MMU */
# define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT)
# define pfn_valid(pfn) ((pfn) < (max_mapnr + ARCH_PFN_OFFSET))
-# define VALID_PAGE(page) ((page - mem_map) < max_mapnr)
# endif /* CONFIG_MMU */
# endif /* __ASSEMBLY__ */