linux-stable-rt/arch/arm/mach-s3c2410
Albrecht Dreß 105bb2698b [PATCH] ARM: 2694/1: [s3c2410/dma] release irq properly to fix kernel oops
Patch from Albrecht Dreß

Problem:
When a module requests a DMA channel via the function s3c2410_dma_request(), this function requests the appropriate irq under the name of the client module. When the client module is unloaded, it calls s3c2410_dma_free() which does not free the irq. Consequently, when e.g. running "cat /proc/interrupts", the irq owner points to freed memory, leading to a kernel oops.
File:
linux/arch/arm/mach-s3c2410/dma.c
Fix:
trivial, below

Signed-off-by: Albrecht Dreß
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-06-03 20:52:26 +01:00
..
Kconfig
…
Makefile
…
Makefile.boot
…
bast-irq.c
…
bast.h
…
clock.c
…
clock.h
…
cpu.c
…
cpu.h
…
devs.c
…
devs.h
…
dma.c
…
gpio.c
…
irq.c
…
mach-bast.c
…
mach-h1940.c
…
mach-n30.c
…
mach-nexcoder.c
…
mach-otom.c
…
mach-rx3715.c
…
mach-smdk2410.c
…
mach-smdk2440.c
…
mach-vr1000.c
…
pm.c
…
pm.h
…
s3c2410.c
…
s3c2410.h
…
s3c2440-dsc.c
…
s3c2440.c
…
s3c2440.h
…
sleep.S
…
time.c
…
usb-simtec.c
…
usb-simtec.h
…