linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: nommu: Export symbol max_mapnr
       [not found] <54F6B163.9000605@hotmail.com>
@ 2015-03-04  7:09 ` gchen gchen
  0 siblings, 0 replies; only message in thread
From: gchen gchen @ 2015-03-04  7:09 UTC (permalink / raw)
  To: Andrew Morton, kernel mailing list, linux-mm; +Cc: Mark Salter, a-jacquiot

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 864 bytes --]

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@gmail.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
 		 	   		  N‹§²æìr¸›zǧu©ž²Æ {\b­†éì¹»\x1c®&Þ–)îÆi¢žØ^n‡r¶‰šŽŠÝ¢j$½§$¢¸\x05¢¹¨­è§~Š'.)îÄÃ,yèm¶ŸÿÃ\f%Š{±šj+ƒðèž×¦j)Z†·Ÿ

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-04  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <54F6B163.9000605@hotmail.com>
2015-03-04  7:09 ` [PATCH] mm: nommu: Export symbol max_mapnr gchen gchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox