[<prev] [next>] [day] [month] [year] [list]
Message-ID: <COL130-W6418F460A06AF52D2330F3B91E0@phx.gbl>
Date: Wed, 4 Mar 2015 15:09:20 +0800
From: gchen gchen <xili_gchen_5257@...mail.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
kernel mailing list <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
CC: Mark Salter <msalter@...hat.com>,
"a-jacquiot@...com" <a-jacquiot@...com>
Subject: [PATCH] mm: nommu: Export symbol max_mapnr
Several modules may need max_mapnr, so export, the related error with
allmodconfig under c6x:
MODPOST 3327 modules
ERROR: "max_mapnr" [fs/pstore/ramoops.ko] undefined!
ERROR: "max_mapnr" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
---
mm/nommu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/nommu.c b/mm/nommu.c
index 3e67e75..3fba2dc 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -62,6 +62,7 @@ void *high_memory;
EXPORT_SYMBOL(high_memory);
struct page *mem_map;
unsigned long max_mapnr;
+EXPORT_SYMBOL(max_mapnr);
unsigned long highest_memmap_pfn;
struct percpu_counter vm_committed_as;
int sysctl_overcommit_memory = OVERCOMMIT_GUESS; /* heuristic overcommit */
--
1.9.3
Powered by blists - more mailing lists