Function Report

Linux Kernel (v4.4)

Source File:kernel\irq\manage.c Create Date:2016-01-14 10:59:09
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:setup_percpu_irq

Function:int setup_percpu_irq(unsigned int irq, struct irqaction *act)

Return Type:int


Type Parameter NameRemarks
unsigned int irq Interrupt line to setup
struct irqaction * act irqaction for the interrupt

Function description: setup a per-cpu interrupt

1852  *Interrupt descriptor = Interrupt to descriptor
1855  If !Interrupt descriptor || !irq_settings_is_per_cpu_devid(Interrupt descriptor) then Returning -Invalid argument
1857  Inline functions for support of irq chips on slow busses
1858  register an interrupt
1859  chip_bus_sync_unlock(Interrupt descriptor)
1861  Returning result of register an interrupt