summaryrefslogtreecommitdiff
path: root/fs/proc/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/cpuinfo.c')
-rw-r--r--fs/proc/cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/cpuinfo.c b/fs/proc/cpuinfo.c
index d0989a443c77..419760fd77bd 100644
--- a/fs/proc/cpuinfo.c
+++ b/fs/proc/cpuinfo.c
@@ -19,7 +19,7 @@ static int cpuinfo_open(struct inode *inode, struct file *file)
static const struct proc_ops cpuinfo_proc_ops = {
.proc_flags = PROC_ENTRY_PERMANENT,
.proc_open = cpuinfo_open,
- .proc_read = seq_read,
+ .proc_read_iter = seq_read_iter,
.proc_lseek = seq_lseek,
.proc_release = seq_release,
};