Page MenuHomeFreeBSD

D21576.id61853.diff
No OneTemporary

D21576.id61853.diff

Index: sys/riscv/riscv/identcpu.c
===================================================================
--- sys/riscv/riscv/identcpu.c
+++ sys/riscv/riscv/identcpu.c
@@ -141,7 +141,7 @@
* ISAs, keep only the extension bits that are common to all harts.
*/
for (node = OF_child(node); node > 0; node = OF_peer(node)) {
- if (!fdt_is_compatible_strict(node, "riscv")) {
+ if (!ofw_bus_node_is_compatible(node, "riscv")) {
if (bootverbose)
printf("fill_elf_hwcap: Can't find cpu\n");
return;

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 1, 2:45 PM (2 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37829014
Default Alt Text
D21576.id61853.diff (510 B)

Event Timeline