linux/arch/arm/mach-at91
David Brownell 085eefb594 [ARM] 5316/1: AT91: oops (regression) fix on gpio irq
From: David Brownell <dbrownell@users.sourceforge.net>

The "5298/1: Drop desc_handle_irq()" patch went overboard
and deleted an essential line of code, causing all AT91
GPIO interrupts to oops (in irq).  Trimmed example:

Unable to handle kernel NULL pointer dereference at virtual address 000000c4
...
PC is at gpio_irq_handler+0x78/0xd0
LR is at gpio_irq_handler+0x38/0xd0
...
Backtrace:
[<c0029884>] (gpio_irq_handler+0x0/0xd0) from [<c0020054>] (__exception_text_start+0x54/0x7c)
[<c0020000>] (__exception_text_start+0x0/0x7c) from [<c00209ec>] (__irq_svc+0x2c/0x60)
Exception stack(0xc1c1de00 to 0xc1c1de48)
[<c01f4ca8>] (_spin_unlock_irq+0x0/0x3c) from [<c01389f8>] (at91ether_open+0x220/0x318)
[<c01387d8>] (at91ether_open+0x0/0x318) from [<c018caa4>] (dev_open+0xa8/0x10c)
[<c018c9fc>] (dev_open+0x0/0x10c) from [<c018b874>] (dev_change_flags+0x98/0x164)
[<c018b7dc>] (dev_change_flags+0x0/0x164) from [<c0019f8c>] (ip_auto_config+0x164/0xe28)
[<c0019e28>] (ip_auto_config+0x0/0xe28) from [<c0020318>] (__exception_text_end+0x60/0x180)
[<c00202b8>] (__exception_text_end+0x0/0x180) from [<c0008738>] (kernel_init+0x70/0xd8)
[<c00086c8>] (kernel_init+0x0/0xd8) from [<c00398e0>] (do_exit+0x0/0x6ac)

This patch restores the missing line'o'code.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-10-22 19:40:06 +01:00
..
include/mach Merge branch 'at91' into devel 2008-10-09 21:31:58 +01:00
at91cap9_devices.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91cap9.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91rm9200_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_time.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9rl_devices.c [ARM] 5260/1: [AT91] Touchscreen on AT91SAM9RL 2008-09-21 22:58:39 +01:00
at91sam9rl.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91sam926x_time.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9260_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9260.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9261_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9261.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9263_devices.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91sam9263.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91x40_time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
at91x40.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-1arm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-afeb-9260v1.c [ARM] 5219/2: MACB ethernet support for AFEB9260 2008-09-18 23:11:55 +01:00
board-cam60.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-cap9adk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-carmeva.c [ARM] 5261/1: [AT91] Support for LEDs on Conitec ARM&EVA board 2008-09-29 15:46:03 +01:00
board-csb337.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-csb637.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-dk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eb01.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-eb9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ecbat91.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-kafa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-kb9202.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-picotux200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-qil-a9260.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-sam9-l9260.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-sam9g20ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-sam9rlek.c [ARM] 5260/1: [AT91] Touchscreen on AT91SAM9RL 2008-09-21 22:58:39 +01:00
board-sam9260ek.c [ARM] 5262/2: [AT91] Support for GPIO-connected buttons on SAM9260-EK board 2008-09-21 23:01:00 +01:00
board-sam9261ek.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-sam9263ek.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-usb-a9260.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-usb-a9263.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-yl-9200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
clock.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work 2008-02-04 13:16:39 +00:00
gpio.c [ARM] 5316/1: AT91: oops (regression) fix on gpio irq 2008-10-22 19:40:06 +01:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
leds.c [ARM] 5267/1: [AT91] Name conflict in mach-at91/leds.c 2008-09-29 15:46:26 +01:00
Makefile [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
pm_slowclock.S [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
pm.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00