Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104854
b: refs/heads/master
c: a1ef5ad
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and Rusty Russell committed Jul 22, 2008
1 parent 8446e84 commit 1f0884c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a00caa1fa954c734f4214a074727a329a9ba6568
refs/heads/master: a1ef5adb4cad43460ebba23c5a78cf4a55bb6a5b
2 changes: 1 addition & 1 deletion trunk/include/linux/kmod.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#define KMOD_PATH_LEN 256

#ifdef CONFIG_KMOD
#ifdef CONFIG_MODULES
/* modprobe exit status on success, -ve on error. Return value
* usually useless though. */
extern int request_module(const char * name, ...) __attribute__ ((format (printf, 1, 2)));
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/exec_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ lookup_exec_domain(u_long personality)
goto out;
}

#ifdef CONFIG_KMOD
#ifdef CONFIG_MODULES
read_unlock(&exec_domains_lock);
request_module("personality-%ld", pers);
read_lock(&exec_domains_lock);
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern int max_threads;

static struct workqueue_struct *khelper_wq;

#ifdef CONFIG_KMOD
#ifdef CONFIG_MODULES

/*
modprobe_path is set via /proc/sys.
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static int min_percpu_pagelist_fract = 8;

static int ngroups_max = NGROUPS_MAX;

#ifdef CONFIG_KMOD
#ifdef CONFIG_MODULES
extern char modprobe_path[];
#endif
#ifdef CONFIG_CHR_DEV_SG
Expand Down Expand Up @@ -475,7 +475,7 @@ static struct ctl_table kern_table[] = {
.proc_handler = &ftrace_enable_sysctl,
},
#endif
#ifdef CONFIG_KMOD
#ifdef CONFIG_MODULES
{
.ctl_name = KERN_MODPROBE,
.procname = "modprobe",
Expand Down

0 comments on commit 1f0884c

Please sign in to comment.