From: Alexey Dobriyan Date: Sun, 2 May 2010 09:40:35 +0000 (+0300) Subject: ARM: convert /proc/cpu/aligment to seq_file X-Git-Tag: v2.6.35-rc1~503^2~4^5~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7072c63c1b0611042ba6ecf0152a33c7b806e67;p=pandora-kernel.git ARM: convert /proc/cpu/aligment to seq_file Convert code away from ->read_proc/->write_proc interfaces. Switch to proc_create()/proc_create_data() which makes addition of proc entries reliable wrt NULL ->proc_fops, NULL ->data and so on. Problem with ->read_proc et al is described here commit 786d7e1612f0b0adb6046f19b906609e4fe8b1ba "Fix rmmod/read/write races in /proc entries" This patch is part of an effort to remove the old simple procfs PAGE_SIZE buffer interface. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Russell King --- Reading git-diff-tree failed