diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2010-01-26 22:06:39 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-01 19:58:17 -0500 |
commit | 53df8fdc15fb646b0219e43c989c2cdab1ab100c (patch) | |
tree | fad5e7e19d5d928c14f15fff912941e300a53aad /include/linux/mm.h | |
parent | e52730071567ec5b6f57e21d6693b112e01e1d0e (diff) |
Move page_is_ram() declaration to mm.h
Move page_is_ram() declaration to mm.h, it makes no sense in <linux/ioport.h>.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
LKML-Reference: <20100127030639.GD8132@localhost>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 24c395694f4d..bad433fdbfce 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -265,6 +265,8 @@ static inline int get_page_unless_zero(struct page *page) | |||
265 | return atomic_inc_not_zero(&page->_count); | 265 | return atomic_inc_not_zero(&page->_count); |
266 | } | 266 | } |
267 | 267 | ||
268 | extern int page_is_ram(unsigned long pfn); | ||
269 | |||
268 | /* Support for virtually mapped pages */ | 270 | /* Support for virtually mapped pages */ |
269 | struct page *vmalloc_to_page(const void *addr); | 271 | struct page *vmalloc_to_page(const void *addr); |
270 | unsigned long vmalloc_to_pfn(const void *addr); | 272 | unsigned long vmalloc_to_pfn(const void *addr); |