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
This commit is contained in:
Andrew Turner 2020-12-23 10:59:38 +00:00
parent 166ceb6fd1
commit e324f1e9f4

View File

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