summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/topology.h')
-rw-r--r--arch/riscv/include/asm/topology.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/topology.h b/arch/riscv/include/asm/topology.h
index 61183688bdd5..fe1a8bf6902d 100644
--- a/arch/riscv/include/asm/topology.h
+++ b/arch/riscv/include/asm/topology.h
@@ -4,6 +4,10 @@
#include <linux/arch_topology.h>
+#ifdef CONFIG_NUMA
+#include <asm/numa.h>
+#endif
+
/* Replace task scheduler's default frequency-invariant accounting */
#define arch_scale_freq_tick topology_scale_freq_tick
#define arch_set_freq_scale topology_set_freq_scale