diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:34:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:06 -0500 |
commit | 5f5192b9feeff6a96c97c143c3ca558fdbe2dc8e (patch) | |
tree | 4abe5cf23d4cb4a052af8c26c80451b368392ee8 /include | |
parent | e1271f686a0e376aa6ee97984c16f91a787e4480 (diff) |
x86: move page_is_ram() function
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/page.h | 3 | ||||
-rw-r--r-- | include/asm-x86/page_32.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index e2c79d8dcdcf..c8b30efeed85 100644 --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h | |||
@@ -47,6 +47,9 @@ | |||
47 | 47 | ||
48 | 48 | ||
49 | #ifndef __ASSEMBLY__ | 49 | #ifndef __ASSEMBLY__ |
50 | |||
51 | extern int page_is_ram(unsigned long pagenr); | ||
52 | |||
50 | struct page; | 53 | struct page; |
51 | 54 | ||
52 | static void inline clear_user_page(void *page, unsigned long vaddr, | 55 | static void inline clear_user_page(void *page, unsigned long vaddr, |
diff --git a/include/asm-x86/page_32.h b/include/asm-x86/page_32.h index 11c4b39cada1..a6fd10f230d2 100644 --- a/include/asm-x86/page_32.h +++ b/include/asm-x86/page_32.h | |||
@@ -73,7 +73,6 @@ extern int nx_enabled; | |||
73 | */ | 73 | */ |
74 | extern unsigned int __VMALLOC_RESERVE; | 74 | extern unsigned int __VMALLOC_RESERVE; |
75 | extern int sysctl_legacy_va_layout; | 75 | extern int sysctl_legacy_va_layout; |
76 | extern int page_is_ram(unsigned long pagenr); | ||
77 | 76 | ||
78 | #define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE) | 77 | #define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE) |
79 | #define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE) | 78 | #define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE) |