]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
genirq: switch /proc/irq/*/smp_affinity et al to seqfiles
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 12 Aug 2008 22:09:03 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Aug 2008 23:07:30 +0000 (16:07 -0700)
commitf18e439d1035d059534d261c414af33f89aee89a
tree3acd22b961fdcf2340eb0e9527fd9f6b810ee3b3
parent50ac2d694f2dd1658341cf97bcf2ffb836d772cb
genirq: switch /proc/irq/*/smp_affinity et al to seqfiles

Switch /proc/irq/*/smp_affinity , /proc/irq/default_smp_affinity to
seq_files.

cat(1) reads with 1024 chunks by default, with high enough NR_CPUS, there
will be -EINVAL.

As side effect, there are now two less users of the ->read_proc interface.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Mike Travis <travis@sgi.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/proc.c