From a195a8e17771e522098f721c9f5971535aa845b3 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sat, 2 Jan 2016 21:13:14 +0000 Subject: [PATCH] Fix the arm64 build by adding an all-important '&' to get a pointer. I'm not sure how I missed the error when I test-built here, I guess the pointy hat must have slipped down over my eyes. --- sys/arm64/arm64/ofw_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/ofw_machdep.c b/sys/arm64/arm64/ofw_machdep.c index 5ea159443285..6a0b714cd208 100644 --- a/sys/arm64/arm64/ofw_machdep.c +++ b/sys/arm64/arm64/ofw_machdep.c @@ -49,6 +49,6 @@ OF_decode_addr(phandle_t dev, int regno, bus_space_tag_t *tag, if (err != 0) return (err); - *tag = memmap_bus; + *tag = &memmap_bus; return (bus_space_map(*tag, addr, size, 0, handle)); }