summaryrefslogtreecommitdiffstats
path: root/sys/arm64
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-04-14 14:44:23 +0000
committerandrew <andrew@FreeBSD.org>2016-04-14 14:44:23 +0000
commit474f44319db073b7d8964667a071f3d68b074d92 (patch)
treea22dea06298b0789aa7361745959f2f036deaa98 /sys/arm64
parent9a0fd089bf38cd2882126c5be95896820326cc2d (diff)
downloadFreeBSD-src-474f44319db073b7d8964667a071f3d68b074d92.zip
FreeBSD-src-474f44319db073b7d8964667a071f3d68b074d92.tar.gz
Fix the types for the start, end, and count arguments to
arm_gic_fdt_alloc_resource. These were the old u_long where they should be rman_res_t. Both of these are the same size on arm64 so this is just for correctness, and would not have led to incorrect behaviour. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/arm64/gic_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/arm64/gic_fdt.c b/sys/arm64/arm64/gic_fdt.c
index 34d8009..f92cd83 100644
--- a/sys/arm64/arm64/gic_fdt.c
+++ b/sys/arm64/arm64/gic_fdt.c
@@ -198,7 +198,7 @@ arm_gic_fdt_attach(device_t dev)
static struct resource *
arm_gic_fdt_alloc_resource(device_t bus, device_t child, int type, int *rid,
- u_long start, u_long end, u_long count, u_int flags)
+ rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
{
struct arm_gic_fdt_softc *sc = device_get_softc(bus);
struct gic_devinfo *di;
OpenPOWER on IntegriCloud