diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-02-13 05:09:19 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-14 05:13:10 -0500 |
commit | a51866946c0aa0b04a554595d38b496e80c76a1b (patch) | |
tree | f2e1d19ac946adf97140d96f034577dd5135d8ed /kernel/irq/manage.c | |
parent | 6e4933a006616343f66c4702dc4fc56bb25e7b02 (diff) |
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 <julien.thierry@arm.com>
Reported-by: Li Wei <liwei391@huawei.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 0a1ebc004a59..5b570050b9b6 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -2427,8 +2427,8 @@ EXPORT_SYMBOL_GPL(__request_percpu_irq); | |||
2427 | * @dev_id: A percpu cookie passed back to the handler function | 2427 | * @dev_id: A percpu cookie passed back to the handler function |
2428 | * | 2428 | * |
2429 | * This call allocates interrupt resources for a per CPU NMI. Per CPU NMIs | 2429 | * This call allocates interrupt resources for a per CPU NMI. Per CPU NMIs |
2430 | * have to be setup on each CPU by calling ready_percpu_nmi() before being | 2430 | * have to be setup on each CPU by calling prepare_percpu_nmi() before |
2431 | * enabled on the same CPU by using enable_percpu_nmi(). | 2431 | * being enabled on the same CPU by using enable_percpu_nmi(). |
2432 | * | 2432 | * |
2433 | * Dev_id must be globally unique. It is a per-cpu variable, and | 2433 | * Dev_id must be globally unique. It is a per-cpu variable, and |
2434 | * the handler gets called with the interrupted CPU's instance of | 2434 | * the handler gets called with the interrupted CPU's instance of |