Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:10:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prepare_percpu_nmi - performs CPU local setup for NMI delivery*@irq: Interrupt line to prepare for NMI delivery* This call prepares an interrupt line to deliver NMI on the current CPU,* before that interrupt line gets enabled with enable_percpu_nmi()
Proto:int prepare_percpu_nmi(unsigned int irq)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | irq |
2546 | ret = 0 |
2548 | WARN_ON(preemptible()) |
2550 | desc = irq_get_desc_lock(irq, & flags, IRQ_GET_DESC_CHECK_PERCPU) |
2555 | If WARN(!(istate & IRQS_NMI), r conditions "prepare_percpu_nmi called for a non-NMI interrupt: irq %u\n", irq) Then |
2562 | ret = irq_nmi_setup(desc) |
2563 | If ret Then |
2568 | out : |
2569 | irq_put_desc_unlock(desc, flags) |
2570 | Return ret |
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 |