Skip to content

Commit

Permalink
mm/nommu.c: export symbol max_mapnr
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Mark Salter <[email protected]>
Cc: Aurelien Jacquiot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
gchen gchen authored and torvalds committed Mar 13, 2015
1 parent 65b9ab8 commit 5b8bf30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5b8bf30

Please sign in to comment.