diff options
Diffstat (limited to 'include/asm-x86/pgtable.h')
-rw-r--r-- | include/asm-x86/pgtable.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 111564fa5e70..bd26559dc8e8 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h | |||
@@ -372,7 +372,11 @@ enum { | |||
372 | PG_LEVEL_NUM | 372 | PG_LEVEL_NUM |
373 | }; | 373 | }; |
374 | 374 | ||
375 | void update_page_count(int level, unsigned long pages); | 375 | #ifdef CONFIG_PROC_FS |
376 | extern void update_page_count(int level, unsigned long pages); | ||
377 | #else | ||
378 | static inline void update_page_count(int level, unsigned long pages) { } | ||
379 | #endif | ||
376 | 380 | ||
377 | /* | 381 | /* |
378 | * Helper function that returns the kernel pagetable entry controlling | 382 | * Helper function that returns the kernel pagetable entry controlling |