summaryrefslogtreecommitdiff
path: root/arch/mn10300/kernel/mn10300-serial.h
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-12-12 15:36:38 +0000
committerDavid Howells <dhowells@redhat.com>2012-12-12 15:46:14 +0000
commit8d160027ff234bddea627ba54c2b85efa1884867 (patch)
tree22e2447f07a3ddde623c11a22a59571853fff84a /arch/mn10300/kernel/mn10300-serial.h
parent7d361cb754720d69695a3efc973e9a1a51e46b21 (diff)
MN10300: fix serial port vdma irq setup for SMP
The builtin SoC serial ports have no FIFOs and use a virtual DMA mechanism based on high priority IRQs to avoid overruns. These high priority interrupts are pinned to cpu#0 on SMP systems. This patch fixes a problem with SMP where the set_intr_level() interface is used to set the priority for these IRQs. The set_intr_level() function sets priority on the local cpu but on SMP systems, this code may be run on some other cpu than the one handling the interrupts. Instead of setting interrupt level explicitly, this patch uses a special irq_chip for these interrupts so that the mask/unmask methods can set the interrupt level implicitly. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/kernel/mn10300-serial.h')
0 files changed, 0 insertions, 0 deletions