]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sh: fix proc file removal for superh store queue module
authorNeil Horman <nhorman@tuxdriver.com>
Sat, 5 Aug 2006 19:14:45 +0000 (12:14 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 6 Aug 2006 15:57:48 +0000 (08:57 -0700)
commita55c9791ea618d3d30dbed782351c55d6b2dc39b
tree1cf219ca504b56a1057d3939204104bbec0b8b6b
parent67dcb3cf9132a3dbd6d0efd74daa3fde17bb7834
[PATCH] sh: fix proc file removal for superh store queue module

Clean up proc file removal in sq module for superh arch.  currently on a
failed module load or on module unload a proc file is left registered which
can cause a random memory execution or oopses if read after unload.  This
patch cleans up that deregistration.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sh/kernel/cpu/sh4/sq.c