summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/cacheinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/cacheinfo.c')
-rw-r--r--arch/loongarch/kernel/cacheinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/kernel/cacheinfo.c b/arch/loongarch/kernel/cacheinfo.c
index 8c9fe29e98f0..b38f5489d094 100644
--- a/arch/loongarch/kernel/cacheinfo.c
+++ b/arch/loongarch/kernel/cacheinfo.c
@@ -4,6 +4,7 @@
*
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
*/
+#include <asm/cpu-info.h>
#include <linux/cacheinfo.h>
/* Populates leaf and increments to next leaf */