diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 15:44:43 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 15:44:43 +1030 |
commit | 3b720b8c865098c49c1570b6b5c7832bcfa6e6c2 (patch) | |
tree | 7580908e53fb78ddc20945075d7f25408a6325fb /drivers/pci/msi.c | |
parent | 41f0377f73039ca6fe97a469d1941a89cd9757f1 (diff) |
virtio: avoid modulus operation.
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions