diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-03 09:38:30 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 15:45:07 +0200 |
commit | 0facaa170a6a0255092d3b32325a15672465ac4c (patch) | |
tree | 4f5220dc76f33fbb315751ab7f4d84dccea2ea40 /sound | |
parent | 78609132795b4e3d6d51c6b67d461bf1626afb2f (diff) | |
download | linux-stable-0facaa170a6a0255092d3b32325a15672465ac4c.tar.gz linux-stable-0facaa170a6a0255092d3b32325a15672465ac4c.tar.bz2 linux-stable-0facaa170a6a0255092d3b32325a15672465ac4c.zip |
s390/sysinfo: convert /proc/sysinfo to seqfile
The current proc implementation of the /proc/sysinfo file writes all
informations contained in all system information blocks to a single
page.
This is done by calling sprintf all the time in the expectation that
everything will fit into a single page. This however is not necessarily
true if the configuration of a machine is very large.
So convert /proc/sysinfo to avoid writing into random memory regions.
For readability reasons a couple of lines are longer than 80 characters.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions