genirq: Fix wrong name in request_percpu_nmi() description
PATCH 1/1 genirq: Fix wrong name in request_percpu_nmi() description
ready_percpu_nmi() was the previous name of prepare_percpu_nmi(). Update request_percpu_nmi() comment with the correct function name.
Signed-off-by Julien Thierry <[email protected]>
Reported-by Li Wei <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Marc Zyngier <[email protected]>
--- kernel/irq/manage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Note: This issue is in next, not yet in mainline. Should apply cleanly on top of next.
kernel/irq/manage.c +2 -2
@@ -2431,8 +2431,8 @@ int __request_percpu_irq(unsigned int irq, irq_handler_t handler,* @dev_id: A percpu cookie passed back to the handler function * * This call allocates interrupt resources for a per CPU NMI. Per CPU NMIs -* have to be setup on each CPU by calling ready_percpu_nmi() before being -* enabled on the same CPU by using enable_percpu_nmi(). +* have to be setup on each CPU by calling prepare_percpu_nmi() before +* being enabled on the same CPU by using enable_percpu_nmi(). * * Dev_id must be globally unique. It is a per-cpu variable, and * the handler gets called with the interrupted CPU's instance of
--
1.9.1
Quoted 10 lines · Julien Thierry
ready_percpu_nmi()was the previous name ofprepare_percpu_nmi(). Updaterequest_percpu_nmi()comment with the correct function name.Signed-off-by Julien Thierry <[email protected]>Reported-by Li Wei <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Ingo Molnar <[email protected]>Cc Marc Zyngier <[email protected]>
Quoted 6 lines
--- kernel/irq/manage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Note: This issue is in next, not yet in mainline. Should apply cleanly on top of next.
Applied on top of irq/irqchip-next, which already contains the generic-nmi branch.
Thanks,
M.
Signature · 1 line
Jazz is not dead, it just smell funny.