diff mbox

sparc32: Export vac_cache_size to fix build error

Message ID 1491079664-12615-1-git-send-email-linux@roeck-us.net
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Guenter Roeck April 1, 2017, 8:47 p.m. UTC
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>
---
 arch/sparc/mm/srmmu.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller April 6, 2017, 7:07 p.m. UTC | #1
From: Guenter Roeck <linux@roeck-us.net>
Date: Sat,  1 Apr 2017 13:47:44 -0700

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c
index def82f6d626f..8e76ebba2986 100644
--- a/arch/sparc/mm/srmmu.c
+++ b/arch/sparc/mm/srmmu.c
@@ -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;