Function report | 
Source Code:kernel\irq\manage.c | 
Create Date:2022-07-28 10:09:14 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__synchronize_hardirq
Proto:static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct irq_desc * | desc | |
| bool | sync_chip | 
| 40 | irqd = irq_desc_get_irq_data(desc) | 
| 43 | Do | 
| 50 | When irqd_irq_inprogress( & irq_data) cycle | 
| 51 | cpu_relax() | 
| 54 | raw_spin_lock_irqsave( & lock, flags) | 
| 55 | inprogress = irqd_irq_inprogress( & irq_data) | 
| 62 | If Not inprogress && sync_chip Then | 
| 70 | raw_spin_unlock_irqrestore( & lock, flags) | 
| 73 | When inprogress cycle | 
| Name | Describe | 
|---|---|
| synchronize_hardirq | synchronize_hardirq - wait for pending hard IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending hard IRQ handlers for this* interrupt to complete before returning | 
| synchronize_irq | synchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while | 
| __free_irq | Internal function to unregister an irqaction - used to free* regular and special interrupts that are part of the architecture. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |