summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-02 02:48:34 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 20:13:35 +0200
commitfbd387aea0cb98c9d6e534c55d3d2ac83153348d (patch)
tree7263224fb19ddaa970cc381dcd2d76dbdb659f84 /kernel/profile.c
parentlparcfg: don't bother saving pointer to proc_dir_entry (diff)
downloadlinux-fbd387aea0cb98c9d6e534c55d3d2ac83153348d.tar.xz
linux-fbd387aea0cb98c9d6e534c55d3d2ac83153348d.zip
create_proc_cpu_mask() doesn't need an argument...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/profile.c')
-rw-r--r--kernel/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/profile.c b/kernel/profile.c
index dc3384ee874e..524ce5e29d3f 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -462,10 +462,10 @@ static const struct file_operations prof_cpu_mask_proc_fops = {
.write = prof_cpu_mask_proc_write,
};
-void create_prof_cpu_mask(struct proc_dir_entry *root_irq_dir)
+void create_prof_cpu_mask(void)
{
/* create /proc/irq/prof_cpu_mask */
- proc_create("prof_cpu_mask", 0600, root_irq_dir, &prof_cpu_mask_proc_fops);
+ proc_create("irq/prof_cpu_mask", 0600, NULL, &prof_cpu_mask_proc_fops);
}
/*