From: Heiko Carstens Date: Mon, 3 Sep 2012 07:38:30 +0000 (+0200) Subject: s390/sysinfo: convert /proc/sysinfo to seqfile X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~81^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0facaa170a6a0255092d3b32325a15672465ac4c;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed