mm: export "high_memory" symbol on !MMU
authorArnd Bergmann <[email protected]>
Thu, 5 Feb 2015 20:25:12 +0000 (12:25 -0800)
committerLinus Torvalds <[email protected]>
Thu, 5 Feb 2015 21:35:29 +0000 (13:35 -0800)
commit944b687491322f5395f47e58707c13abd2cfa3fd
treebdf29b258bf7778da7dbad8aa57b20a7ca26164e
parent21d543f225a8c828afd92988b51393b85e9e967c
mm: export "high_memory" symbol on !MMU

The symbol 'high_memory' is provided on both MMU- and NOMMU-kernels, but
only one of them is exported, which leads to module build errors in
drivers that work fine built-in:

  ERROR: "high_memory" [drivers/net/virtio_net.ko] undefined!
  ERROR: "high_memory" [drivers/net/ppp/ppp_mppe.ko] undefined!
  ERROR: "high_memory" [drivers/mtd/nand/nand.ko] undefined!
  ERROR: "high_memory" [crypto/tcrypt.ko] undefined!
  ERROR: "high_memory" [crypto/cts.ko] undefined!

This exports the symbol to get these to work on NOMMU as well.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/nommu.c