ARM: convert /proc/cpu/aligment to seq_file
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 2 May 2010 09:40:35 +0000 (12:40 +0300)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 May 2010 14:03:48 +0000 (15:03 +0100)
commitb7072c63c1b0611042ba6ecf0152a33c7b806e67
treea47d0c9c580a965b6ae8c0d986228e5765e8e0e5
parent4d736b5e1cffb716bfbad669ce6aedf454779373
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 <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/alignment.c