diff options
author | marius <marius@FreeBSD.org> | 2013-10-24 17:06:41 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2013-10-24 17:06:41 +0000 |
commit | 20009df359ce30467764d1541b768b38dcabf56d (patch) | |
tree | 5976af85d101a80d68abb4154a04ec9de7595cf4 /sys/sparc64/sbus | |
parent | 151389a51e2e4650e5f38ce82118f1a1ad8efd3d (diff) | |
download | FreeBSD-src-20009df359ce30467764d1541b768b38dcabf56d.zip FreeBSD-src-20009df359ce30467764d1541b768b38dcabf56d.tar.gz |
Move the implementation of bus_space_barrier(9) to the inline function in
the header. Actually, there's only one version for all types of busses, so
it doesn't make sense to walk up the hierarchy.
Diffstat (limited to 'sys/sparc64/sbus')
-rw-r--r-- | sys/sparc64/sbus/sbus.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sparc64/sbus/sbus.c b/sys/sparc64/sbus/sbus.c index 580624f..0b27655 100644 --- a/sys/sparc64/sbus/sbus.c +++ b/sys/sparc64/sbus/sbus.c @@ -803,9 +803,7 @@ sbus_activate_resource(device_t bus, device_t child, int type, int rid, for (i = 0; i < sc->sc_nrange; i++) { if (rman_is_region_manager(r, &sc->sc_rd[i].rd_rman) != 0) { - tag = sparc64_alloc_bus_tag(r, - rman_get_bustag(sc->sc_sysio_res), - SBUS_BUS_SPACE, NULL); + tag = sparc64_alloc_bus_tag(r, SBUS_BUS_SPACE); if (tag == NULL) return (ENOMEM); rman_set_bustag(r, tag); |