]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Fix missing __free_pages() in check_vector_unaligned_access()
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Fri, 28 Feb 2025 09:06:13 +0000 (10:06 +0100)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 13:37:56 +0000 (13:37 +0000)
commit33981b1c4e499021421686dcfa7b3d23a430d00e
treee508036278a2efe90f98d8eaa52ca3c912b753ea
parent475afa39b123699e910c61ad9a51cedce4a0d310
riscv: Fix missing __free_pages() in check_vector_unaligned_access()

The locally allocated pages are never freed up, so add the corresponding
__free_pages().

Fixes: e7c9d66e313b ("RISC-V: Report vector unaligned access speed hwprobe")
Link: https://lore.kernel.org/r/20250228090613.345309-1-alexghiti@rivosinc.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/unaligned_access_speed.c