summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Tan <tanyuan@tinylab.org>2023-07-24 00:51:55 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-08-02 13:49:07 -0700
commit174e8ac0272d54a9c1cc23185665f715c36620ad (patch)
treeafdfc1f99d5af36297a0e0ba595401a4e37a9b99
parent12d61a1bc28eef8d799ba00f370f421f7e942629 (diff)
riscv: alternatives: fix a typo in comment
In the usage of ALTERNATIVE, "always" is misspelled as "alwyas". Signed-off-by: Yuan Tan <tanyuan@tinylab.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230723165155.4896-1-tanyuan@tinylab.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
-rw-r--r--arch/riscv/include/asm/alternative-macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/alternative-macros.h b/arch/riscv/include/asm/alternative-macros.h
index b8c55fb3ab2c..721ec275ce57 100644
--- a/arch/riscv/include/asm/alternative-macros.h
+++ b/arch/riscv/include/asm/alternative-macros.h
@@ -146,7 +146,7 @@
* vendor_id: The CPU vendor ID.
* patch_id: The patch ID (erratum ID or cpufeature ID).
* CONFIG_k: The Kconfig of this patch ID. When Kconfig is disabled, the old
- * content will alwyas be executed.
+ * content will always be executed.
*/
#define ALTERNATIVE(old_content, new_content, vendor_id, patch_id, CONFIG_k) \
_ALTERNATIVE_CFG(old_content, new_content, vendor_id, patch_id, CONFIG_k)