OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8505f
)
arm64: kernel: Update the stale comment
author
Shaokun Zhang
<zhangshaokun@hisilicon.com>
Thu, 6 May 2021 05:54:22 +0000
(13:54 +0800)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 6 May 2021 11:26:26 +0000
(12:26 +0100)
Commit
af391b15f7b5
("arm64: kernel: rename __cpu_suspend to keep it aligned with arm")
has used @index instead of @arg, but the comment is stale, update it.
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link:
https://lore.kernel.org/r/1620280462-21937-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpuidle.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/cpuidle.c
b/arch/arm64/kernel/cpuidle.c
index
b512b55
..
03991ee
100644
(file)
--- a/
arch/arm64/kernel/cpuidle.c
+++ b/
arch/arm64/kernel/cpuidle.c
@@
-29,7
+29,7
@@
int arm_cpuidle_init(unsigned int cpu)
/**
* arm_cpuidle_suspend() - function to enter a low-power idle state
- * @
arg
: argument to pass to CPU suspend operations
+ * @
index
: argument to pass to CPU suspend operations
*
* Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU
* operations back-end error code otherwise.