[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)
commit757be186129b674e3a0146a4bc1861ed0744cd95
tree1cf219ca504b56a1057d3939204104bbec0b8b6b
parent453c3e478e94004606b394b9ea57de71094e7c6a
[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