[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181224070622.22197-2-sjhuang@iluvatar.ai>
Date: Mon, 24 Dec 2018 15:06:22 +0800
From: Huang Shijie <sjhuang@...vatar.ai>
To: <akpm@...ux-foundation.org>
CC: <sfr@...b.auug.org.au>, <alexey.skidanov@...el.com>,
<linux-kernel@...r.kernel.org>, <shijie8@...il.com>,
Huang Shijie <sjhuang@...vatar.ai>
Subject: [PATCH 2/2] lib/genalloc.c: export symbol addr_in_gen_pool
We may use the addr_in_gen_pool() in the driver module.
So export the addr_in_gen_pool for the compiling.
Signed-off-by: Huang Shijie <sjhuang@...vatar.ai>
---
lib/genalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/genalloc.c b/lib/genalloc.c
index 0d0ff9f0483f..9da91a16046f 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -450,6 +450,7 @@ bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start,
rcu_read_unlock();
return found;
}
+EXPORT_SYMBOL(addr_in_gen_pool);
/**
* gen_pool_avail - get available free space of the pool
--
2.17.1
Powered by blists - more mailing lists