mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-24 21:37:14 +00:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
|
From 16c572ef0646f8b0fa19fbf81b302de8a03127f2 Mon Sep 17 00:00:00 2001
|
||
|
From: Sasha Levin <sashal@kernel.org>
|
||
|
Date: Sun, 24 Sep 2023 14:30:44 -0400
|
||
|
Subject: Fix up backport of 136191703038 ("interconnect: Teach lockdep about
|
||
|
icc_bw_lock order")
|
||
|
|
||
|
Add a missing include to fix the following build error:
|
||
|
|
||
|
drivers/interconnect/core.c: In function 'icc_init':
|
||
|
drivers/interconnect/core.c:1148:9: error: implicit declaration of function 'fs_reclaim_acquire' [-Werror=implicit-function-declaration]
|
||
|
1148 | fs_reclaim_acquire(GFP_KERNEL);
|
||
|
| ^~~~~~~~~~~~~~~~~~
|
||
|
drivers/interconnect/core.c:1150:9: error: implicit declaration of function 'fs_reclaim_release' [-Werror=implicit-function-declaration]
|
||
|
1150 | fs_reclaim_release(GFP_KERNEL);
|
||
|
| ^~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
||
|
---
|
||
|
drivers/interconnect/core.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- a/drivers/interconnect/core.c
|
||
|
+++ b/drivers/interconnect/core.c
|
||
|
@@ -13,6 +13,7 @@
|
||
|
#include <linux/interconnect.h>
|
||
|
#include <linux/interconnect-provider.h>
|
||
|
#include <linux/list.h>
|
||
|
+#include <linux/sched/mm.h>
|
||
|
#include <linux/module.h>
|
||
|
#include <linux/mutex.h>
|
||
|
#include <linux/slab.h>
|