riscv: alternatives: fix a typo in comment
authorYuan Tan <tanyuan@tinylab.org>
Sun, 23 Jul 2023 16:51:55 +0000 (00:51 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 2 Aug 2023 20:49:07 +0000 (13:49 -0700)
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>
arch/riscv/include/asm/alternative-macros.h

index b8c55fb3ab2c07cab4c26875903c3eef76d08853..721ec275ce57e3b1321f4f63b0036ff16d959c59 100644 (file)
  * 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)