Browse Source

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 <jgunthorpe@obsidianresearch.com>
Cc: Doug Ledford <dledford@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Guenter Roeck 8 years ago
parent
commit
9d262d9511
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/sparc/mm/srmmu.c

+ 1 - 0
arch/sparc/mm/srmmu.c

@@ -54,6 +54,7 @@
 enum mbus_module srmmu_modtype;
 enum mbus_module srmmu_modtype;
 static unsigned int hwbug_bitmask;
 static unsigned int hwbug_bitmask;
 int vac_cache_size;
 int vac_cache_size;
+EXPORT_SYMBOL(vac_cache_size);
 int vac_line_size;
 int vac_line_size;
 
 
 extern struct resource sparc_iomap;
 extern struct resource sparc_iomap;