proc/cpuinfo: switch to ->read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Nov 2020 08:27:35 +0000 (09:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2020 18:05:18 +0000 (10:05 -0800)
commit70fce7d2253938191275ebcbd46efe45fceb05a1
tree190d015e7d0493a8ee238185195110297a8c4eee
parentfe33850ff798eb8d57eea88cc14090770013bb73
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>
fs/proc/cpuinfo.c