proc/cpuinfo: switch to ->read_iter

Implement ->read_iter so that the Android bionic test suite can use
this random proc file for its splice test case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Christoph Hellwig and committed by Linus Torvalds 70fce7d2 fe33850f

+1 -1
+1 -1
fs/proc/cpuinfo.c
··· 19 static const struct proc_ops cpuinfo_proc_ops = { 20 .proc_flags = PROC_ENTRY_PERMANENT, 21 .proc_open = cpuinfo_open, 22 - .proc_read = seq_read, 23 .proc_lseek = seq_lseek, 24 .proc_release = seq_release, 25 };
··· 19 static const struct proc_ops cpuinfo_proc_ops = { 20 .proc_flags = PROC_ENTRY_PERMANENT, 21 .proc_open = cpuinfo_open, 22 + .proc_read_iter = seq_read_iter, 23 .proc_lseek = seq_lseek, 24 .proc_release = seq_release, 25 };