aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/riscv
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices/riscv')
-rw-r--r--modules/devices/riscv/processor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/devices/riscv/processor.c b/modules/devices/riscv/processor.c
index b2976a3e..740742a5 100644
--- a/modules/devices/riscv/processor.c
+++ b/modules/devices/riscv/processor.c
@@ -104,10 +104,10 @@ processor_scan(void)
processor = (Processor *) pi->data;
/* strings can't be null or segfault later */
- STRIFNULL(model_name, _("RISC-V Processor") );
- UNKIFNULL(mmu);
- UNKIFNULL(isa);
- UNKIFNULL(uarch);
+ STRIFNULL(processor->model_name, _("RISC-V Processor") );
+ UNKIFNULL(processor->mmu);
+ UNKIFNULL(processor->isa);
+ UNKIFNULL(processor->uarch);
processor->flags = riscv_isa_to_flags(processor->isa);