Whamcloud - gitweb
LU-15959 kernel: new kernel [SLES15 SP4 5.14.21-150400.24.18.1]
[fs/lustre-release.git] / lustre / llite / vvp_internal.h
index f350e3f..76085ce 100644 (file)
@@ -297,7 +297,8 @@ struct lu_object *vvp_object_alloc(const struct lu_env *env,
 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