ANDROID: mm/memory.c: fix export symbol type

In commit d139b82ae2 ("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 <[email protected]>
Cc: Alistair Delva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I2c5b7c4d608149fe2bbc3c411cb0ec550de86328
This commit is contained in:
Greg Kroah-Hartman 2020-04-30 12:07:59 +02:00
commit 9703df4b52

View file

@ -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)