Skip to contentSkip to conversation

sparc32: Export vac_cache_size to fix build error

PATCH Applied Guenter Roeck 2 participants 2 messages Apr 1, 2017 – Apr 6, 2017 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc32: Export vac_cache_size to fix build error

sparc32:allmodconfig fails to build with the following error.

ERROR: "vac_cache_size" [drivers/infiniband/sw/rxe/rdma_rxe.ko] undefined!

Fixes cb8864559631 ("infiniband: Fix alignment of mmap cookies ...")
Cc Jason Gunthorpe <[email protected]>
Cc Doug Ledford <[email protected]>
---
 arch/sparc/mm/srmmu.c | 1 +
 1 file changed, 1 insertion(+)
arch/sparc/mm/srmmu.c +1 -0
index def82f6d626f..8e76ebba2986 100644
@@ -54,6 +54,7 @@
 enum mbus_module srmmu_modtype;
 static unsigned int hwbug_bitmask;
 int vac_cache_size;
+EXPORT_SYMBOL(vac_cache_size);
 int vac_line_size;
 
 extern struct resource sparc_iomap;
Signature · 1 line
2.7.4