mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
x86: move page_is_ram() function
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
e1271f686a
commit
5f5192b9fe
4 changed files with 27 additions and 23 deletions
|
|
@ -47,6 +47,9 @@
|
|||
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
extern int page_is_ram(unsigned long pagenr);
|
||||
|
||||
struct page;
|
||||
|
||||
static void inline clear_user_page(void *page, unsigned long vaddr,
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ extern int nx_enabled;
|
|||
*/
|
||||
extern unsigned int __VMALLOC_RESERVE;
|
||||
extern int sysctl_legacy_va_layout;
|
||||
extern int page_is_ram(unsigned long pagenr);
|
||||
|
||||
#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
|
||||
#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue