summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 078950d9605b..00fcea236eba 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -264,7 +264,8 @@ extern struct ctl_table epoll_table[];
extern struct ctl_table firmware_config_table[];
#endif
-#ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
+#if defined(HAVE_ARCH_PICK_MMAP_LAYOUT) || \
+ defined(CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT)
int sysctl_legacy_va_layout;
#endif
@@ -1573,7 +1574,8 @@ static struct ctl_table vm_table[] = {
.proc_handler = proc_dointvec,
.extra1 = SYSCTL_ZERO,
},
-#ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
+#if defined(HAVE_ARCH_PICK_MMAP_LAYOUT) || \
+ defined(CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT)
{
.procname = "legacy_va_layout",
.data = &sysctl_legacy_va_layout,
ion> danvet's drm/ playgrounddanvet
summaryrefslogtreecommitdiff
path: root/net/ethtool/privflags.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-15ethtool: netlink: always pass genl_info to .prepare_dataJakub Kicinski1-1/+1
2023-01-27ethtool: netlink: convert commands to common SETJakub Kicinski1-45/+39
2021-12-15ethtool: use ethnl_parse_header_dev_put()Eric Dumazet1-1/+1
2020-10-06ethtool: link up ethnl_header_policy as a nested policyJakub Kicinski1-2/+4
2020-10-06ethtool: trim policy tablesJakub Kicinski1-7/+2
2020-10-06ethtool: wire up set policies to opsJakub Kicinski1-8/+3
2020-10-06ethtool: wire up get policies to opsJakub Kicinski1-4/+2
2020-03-29ethtool: fix reference leak in ethnl_set_privflags()Michal Kubecek1-1/+3
2020-03-12ethtool: add PRIVFLAGS_NTF notificationMichal Kubecek1-0/+3
2020-03-12ethtool: set device private flags with PRIVFLAGS_SET requestMichal Kubecek1-0/+70
2020-03-12ethtool: provide private flags with PRIVFLAGS_GET requestMichal Kubecek1-0/+136