[PATCH 6.1 v2 2/2] RISC-V: fix taking the text_mutex twice during sifive errata patching