diff options
| -rw-r--r-- | include/linux/kmod.h | 2 | ||||
| -rw-r--r-- | kernel/exec_domain.c | 2 | ||||
| -rw-r--r-- | kernel/kmod.c | 2 | ||||
| -rw-r--r-- | kernel/sysctl.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h index 9bdb28d6660f..0509c4ce4857 100644 --- a/include/linux/kmod.h +++ b/include/linux/kmod.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | #define KMOD_PATH_LEN 256 | 26 | #define KMOD_PATH_LEN 256 |
| 27 | 27 | ||
| 28 | #ifdef CONFIG_KMOD | 28 | #ifdef CONFIG_MODULES |
| 29 | /* modprobe exit status on success, -ve on error. Return value | 29 | /* modprobe exit status on success, -ve on error. Return value |
| 30 | * usually useless though. */ | 30 | * usually useless though. */ |
| 31 | extern int request_module(const char * name, ...) __attribute__ ((format (printf, 1, 2))); | 31 | extern int request_module(const char * name, ...) __attribute__ ((format (printf, 1, 2))); |
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c index a9e6bad9f706..c1ef192aa655 100644 --- a/kernel/exec_domain.c +++ b/kernel/exec_domain.c | |||
| @@ -65,7 +65,7 @@ lookup_exec_domain(u_long personality) | |||
| 65 | goto out; | 65 | goto out; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | #ifdef CONFIG_KMOD | 68 | #ifdef CONFIG_MODULES |
| 69 | read_unlock(&exec_domains_lock); | 69 | read_unlock(&exec_domains_lock); |
| 70 | request_module("personality-%ld", pers); | 70 | request_module("personality-%ld", pers); |
| 71 | read_lock(&exec_domains_lock); | 71 | read_lock(&exec_domains_lock); |
diff --git a/kernel/kmod.c b/kernel/kmod.c index 8df97d3dfda8..90d7af1c1655 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c | |||
| @@ -42,7 +42,7 @@ extern int max_threads; | |||
| 42 | 42 | ||
| 43 | static struct workqueue_struct *khelper_wq; | 43 | static struct workqueue_struct *khelper_wq; |
| 44 | 44 | ||
| 45 | #ifdef CONFIG_KMOD | 45 | #ifdef CONFIG_MODULES |
| 46 | 46 | ||
| 47 | /* | 47 | /* |
| 48 | modprobe_path is set via /proc/sys. | 48 | modprobe_path is set via /proc/sys. |
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6b16e16428d8..b859e6b5a767 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -110,7 +110,7 @@ static int min_percpu_pagelist_fract = 8; | |||
| 110 | 110 | ||
| 111 | static int ngroups_max = NGROUPS_MAX; | 111 | static int ngroups_max = NGROUPS_MAX; |
| 112 | 112 | ||
| 113 | #ifdef CONFIG_KMOD | 113 | #ifdef CONFIG_MODULES |
| 114 | extern char modprobe_path[]; | 114 | extern char modprobe_path[]; |
| 115 | #endif | 115 | #endif |
| 116 | #ifdef CONFIG_CHR_DEV_SG | 116 | #ifdef CONFIG_CHR_DEV_SG |
| @@ -475,7 +475,7 @@ static struct ctl_table kern_table[] = { | |||
| 475 | .proc_handler = &ftrace_enable_sysctl, | 475 | .proc_handler = &ftrace_enable_sysctl, |
| 476 | }, | 476 | }, |
| 477 | #endif | 477 | #endif |
| 478 | #ifdef CONFIG_KMOD | 478 | #ifdef CONFIG_MODULES |
| 479 | { | 479 | { |
| 480 | .ctl_name = KERN_MODPROBE, | 480 | .ctl_name = KERN_MODPROBE, |
| 481 | .procname = "modprobe", | 481 | .procname = "modprobe", |
