Date: Wed, 23 Dec 2020 13:14:48 GMT From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e324f1e9f458 - Stop redefining PAGE_SHIFT in virtio-mmio Message-ID: <202012231314.0BNDEmKH047702@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=e324f1e9f458ef5b402c7999b01bedc8a775047d commit e324f1e9f458ef5b402c7999b01bedc8a775047d Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2020-12-23 10:59:38 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2020-12-23 13:10:26 +0000 Stop redefining PAGE_SHIFT in virtio-mmio This is alreaady defined by each architecture as that is the only place we can know what the correct page shift should be. Sponsored by: Innovate UK --- sys/dev/virtio/mmio/virtio_mmio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/virtio/mmio/virtio_mmio.c b/sys/dev/virtio/mmio/virtio_mmio.c index 348c82da3528..bb5d84754f09 100644 --- a/sys/dev/virtio/mmio/virtio_mmio.c +++ b/sys/dev/virtio/mmio/virtio_mmio.c @@ -60,8 +60,6 @@ __FBSDID("$FreeBSD$"); #include "virtio_bus_if.h" #include "virtio_if.h" -#define PAGE_SHIFT 12 - struct vtmmio_virtqueue { struct virtqueue *vtv_vq; int vtv_no_intr;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012231314.0BNDEmKH047702>