mm: export symbol for show_mem
authorbinqi.zhang <binqi.zhang@amlogic.com>
Fri, 11 Aug 2017 07:18:50 +0000 (15:18 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 22 Aug 2017 12:35:03 +0000 (05:35 -0700)
PD#149671: mm: export symbol for show_mem.

export symbol for show_mem() and other modules can use the function

Change-Id: Ia4b0c595ada1db2326e07d67b136ad92c9d3cb67
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
(cherry picked from commit 53577ac0164bcd9e933ec43c18139f2f1c55ea56)

lib/show_mem.c

index 1feed6a..9450250 100644 (file)
@@ -50,3 +50,4 @@ void show_mem(unsigned int filter)
        printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages));
 #endif
 }
+EXPORT_SYMBOL(show_mem);