aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-24 21:17:57 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit8d9cb04ea8a1ca408befd0708691e1631d9f3129 (patch)
tree4b7d211c760ca57c0d605518e212171631b4f3a6 /config
parent0a0080458522a1100be32f9b6e7e26aedb5a8ef7 (diff)
config: remove ZFS_GLOBAL_ZONE_PAGE_STATE
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'config')
-rw-r--r--config/kernel-global_page_state.m431
-rw-r--r--config/kernel.m41
2 files changed, 0 insertions, 32 deletions
diff --git a/config/kernel-global_page_state.m4 b/config/kernel-global_page_state.m4
index 114f3c8dc..fd256cc24 100644
--- a/config/kernel-global_page_state.m4
+++ b/config/kernel-global_page_state.m4
@@ -1,29 +1,4 @@
dnl #
-dnl # 4.14 API change
-dnl #
-dnl # c41f012ade0b mm: rename global_page_state to global_zone_page_state
-dnl #
-AC_DEFUN([ZFS_AC_KERNEL_SRC_GLOBAL_ZONE_PAGE_STATE], [
- ZFS_LINUX_TEST_SRC([global_zone_page_state], [
- #include <linux/mm.h>
- #include <linux/vmstat.h>
- ],[
- (void) global_zone_page_state(0);
- ])
-])
-
-AC_DEFUN([ZFS_AC_KERNEL_GLOBAL_ZONE_PAGE_STATE], [
- AC_MSG_CHECKING([whether global_zone_page_state() exists])
- ZFS_LINUX_TEST_RESULT([global_zone_page_state], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(ZFS_GLOBAL_ZONE_PAGE_STATE, 1,
- [global_zone_page_state() exists])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # Create a define and autoconf variable for an enum member
dnl #
AC_DEFUN([ZFS_AC_KERNEL_ENUM_MEMBER], [
@@ -72,16 +47,10 @@ AC_DEFUN([ZFS_AC_KERNEL_GLOBAL_ZONE_PAGE_STATE_SANITY], [
AC_MSG_RESULT(yes)
])
-AC_DEFUN([ZFS_AC_KERNEL_SRC_GLOBAL_PAGE_STATE], [
- ZFS_AC_KERNEL_SRC_GLOBAL_ZONE_PAGE_STATE
-])
-
dnl #
dnl # enum members in which we're interested
dnl #
AC_DEFUN([ZFS_AC_KERNEL_GLOBAL_PAGE_STATE], [
- ZFS_AC_KERNEL_GLOBAL_ZONE_PAGE_STATE
-
ZFS_AC_KERNEL_ENUM_MEMBER([NR_FILE_PAGES],
[node_stat_item], [$LINUX/include/linux/mmzone.h])
ZFS_AC_KERNEL_ENUM_MEMBER([NR_INACTIVE_ANON],
diff --git a/config/kernel.m4 b/config/kernel.m4
index fe4f406ea..81868924f 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -38,7 +38,6 @@ dnl #
AC_DEFUN([ZFS_AC_KERNEL_TEST_SRC], [
ZFS_AC_KERNEL_SRC_TYPES
ZFS_AC_KERNEL_SRC_OBJTOOL
- ZFS_AC_KERNEL_SRC_GLOBAL_PAGE_STATE
ZFS_AC_KERNEL_SRC_ACCESS_OK_TYPE
ZFS_AC_KERNEL_SRC_PDE_DATA
ZFS_AC_KERNEL_SRC_GENERIC_FADVISE