search for: 15ee2fa

Displaying 4 results from an estimated 4 matches for "15ee2fa".

2008 Jan 02
5
[PATCH 1/3] Make virtio modules GPL
...#include <linux/spinlock.h> #include <linux/virtio_config.h> +MODULE_LICENSE("GPL"); + static ssize_t device_show(struct device *_d, struct device_attribute *attr, char *buf) { diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 951e4c7..15ee2fa 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -20,6 +20,8 @@ #include <linux/virtio_ring.h> #include <linux/device.h> +MODULE_LICENSE("GPL"); + #ifdef DEBUG /* For development, we want to crash whenever the ring is screwed. */ #define B...
2008 Jan 02
5
[PATCH 1/3] Make virtio modules GPL
...#include <linux/spinlock.h> #include <linux/virtio_config.h> +MODULE_LICENSE("GPL"); + static ssize_t device_show(struct device *_d, struct device_attribute *attr, char *buf) { diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 951e4c7..15ee2fa 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -20,6 +20,8 @@ #include <linux/virtio_ring.h> #include <linux/device.h> +MODULE_LICENSE("GPL"); + #ifdef DEBUG /* For development, we want to crash whenever the ring is screwed. */ #define B...
2008 Jan 05
1
[PATCH][RESEND] Relax BUG_ON()s when enabling/disabling virt_ring interrupts
...g or double disabling, it is far easier for them to handle this by maintaining an enabled flag than forcing every virtio driver to maintain this sort of state. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 15ee2fa..9599236 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -227,7 +227,6 @@ static void vring_disable_cb(struct virtqueue *_vq) struct vring_virtqueue *vq = to_vvq(_vq); START_USE(vq); - BUG_ON(vq->vring.avail->flags & VRING_AVAIL_F_NO_INTERRUPT); vq-...
2008 Jan 05
1
[PATCH][RESEND] Relax BUG_ON()s when enabling/disabling virt_ring interrupts
...g or double disabling, it is far easier for them to handle this by maintaining an enabled flag than forcing every virtio driver to maintain this sort of state. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 15ee2fa..9599236 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -227,7 +227,6 @@ static void vring_disable_cb(struct virtqueue *_vq) struct vring_virtqueue *vq = to_vvq(_vq); START_USE(vq); - BUG_ON(vq->vring.avail->flags & VRING_AVAIL_F_NO_INTERRUPT); vq-...