linux/arch/c6x/kernel
Mark Salter 9d34340ebd c6x: run do_notify_resume with interrupts enabled
C6x was mistakenly running do_notify_resume with interrupts disabled.
This would triggerlead to a warning in local_bh_enable() because interrupts
were disabled:

------------[ cut here ]------------
WARNING: at /es/linux/linux-next/kernel/softirq.c:160 local_bh_enable+0x5c/0x10c()
Modules linked in:

             e02f384d e002cda8 e02f3469 e02f384d 000000a0 e00363fc e01cce58 e5005c00
             e0327986 00000000 e63c0aec 00000164 e00363fc 00000000 fffffffe e5005c00
             e61fde00 e0268184 00000134 e01c91dc 00000001 fffffffe 00000000 10000100
             e01c80e4 e5005c00 00000000 00000000 00000000 e63c0aec e526ce00 10000100
             e628f920 e63c0a88 e6010410 e6449750 e5005c20 00000000 00000000 e63c0a80
             e5005c20 e01c8590 e63c0a80 e5005c20 e63c0aec e00a0554 e009c758 e639e860
 irq_spurious_proc_fops+0x6ad/0x3438
 warn_slowpath_common+0x8c/0xb8
 irq_spurious_proc_fops+0x2c9/0x3438
 irq_spurious_proc_fops+0x6ad/0x3438
 local_bh_enable+0x5c/0x10c
 sk_alloc+0x34/0xa4
 local_bh_enable+0x5c/0x10c
 unix_release_sock+0x5c/0x2a0
 sys_connect+0x94/0xd4
 sock_release+0x38/0x104
 sock_close+0x3c/0x54
 __fput+0x154/0x2ec
 filp_close+0xc0/0xe4
 task_work_run+0xdc/0x12c
 sys_close+0x2c/0x74
 resume_userspace+0x0/0x30
---[ end trace a70cbd610ae1f6b4 ]---

This patch enables interrupts before calling do_notify_resume().

Signed-off-by: Mark Salter <msalter@redhat.com>
2012-11-26 18:06:13 -05:00
..
asm-offsets.c sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
c6x_ksyms.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
devicetree.c C6X: devicetree support 2011-10-06 19:47:33 -04:00
dma.c C6X: memory management and DMA support 2011-10-06 19:47:37 -04:00
entry.S c6x: run do_notify_resume with interrupts enabled 2012-11-26 18:06:13 -05:00
head.S
irq.c C6X: remove dependence on legacy IRQs 2012-07-18 23:49:40 -04:00
Makefile
module.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
process.c c6x: switch to generic kernel_thread() 2012-10-01 00:59:09 -04:00
ptrace.c C6X: ptrace support 2011-10-06 19:48:17 -04:00
setup.c C6X: add basic support for TMS320C6678 SoC 2012-07-18 23:52:31 -04:00
signal.c C6X: clean up compiler warning 2012-07-18 23:52:54 -04:00
soc.c arch: Use eth_random_addr 2012-07-16 22:39:25 -07:00
switch_to.S C6X: process management 2011-10-06 19:47:40 -04:00
sys_c6x.c C6X: syscalls 2011-10-06 19:47:58 -04:00
time.c Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
traps.c Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
vectors.S
vmlinux.lds.S