int vvp_global_init(void);
void vvp_global_fini(void);
-#ifndef HAVE_ACCOUNT_PAGE_DIRTIED_EXPORT
+#if !defined(HAVE_ACCOUNT_PAGE_DIRTIED_EXPORT) || \
+defined(HAVE_KALLSYMS_LOOKUP_NAME)
extern unsigned int (*vvp_account_page_dirtied)(struct page *page,
struct address_space *mapping);
#endif