1 #ifndef _ZFS_PAGE_COMPAT_H 2 #define _ZFS_PAGE_COMPAT_H 3 4 /* 5 * Create our own accessor functions to follow the Linux API changes 6 */ 7 #define nr_file_pages() global_node_page_state(NR_FILE_PAGES) 8 #define nr_inactive_anon_pages() global_node_page_state(NR_INACTIVE_ANON) 9 #define nr_inactive_file_pages() global_node_page_state(NR_INACTIVE_FILE) 10 11 #endif /* _ZFS_PAGE_COMPAT_H */ 12