projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fa075
)
mm/microblaze: clean up unused VALID_PAGE()
author
Jiang Liu
<
[email protected]
>
Wed, 3 Jul 2013 22:04:42 +0000
(15:04 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:40 +0000
(16:07 -0700)
VALID_PAGE() has been removed from kernel long time ago, so clean up it.
Signed-off-by: Jiang Liu <
[email protected]
>
Cc: Michal Simek <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/microblaze/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/microblaze/include/asm/page.h
b/arch/microblaze/include/asm/page.h
index 85a5ae8e9bd04f5f3360b562ea03875c15e5e31a..fd850879854dff3f79a73effd5fc782e9bd203d8 100644
(file)
--- 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__ */