From 9703df4b521afb0e8a1cc3ab9821be02dba2aa06 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 30 Apr 2020 12:07:59 +0200 Subject: [PATCH] ANDROID: mm/memory.c: fix export symbol type In commit d139b82ae2b7 ("ANDROID: mm/memory.c: export mm_trace_rss_stat") a new symbol was exported, but it should have been set as a _GPL symbol. Fix this up by properly changing the export type. Cc: Yongqin Liu Cc: Alistair Delva Signed-off-by: Greg Kroah-Hartman Change-Id: I2c5b7c4d608149fe2bbc3c411cb0ec550de86328 --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index a3d5754b8871..c22194088bb8 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -158,7 +158,7 @@ void mm_trace_rss_stat(struct mm_struct *mm, int member, long count, if ((count & thresh_mask) != ((count - value) & thresh_mask)) trace_rss_stat(mm, member, count); } -EXPORT_SYMBOL(mm_trace_rss_stat); +EXPORT_SYMBOL_GPL(mm_trace_rss_stat); #if defined(SPLIT_RSS_COUNTING)