android_kernel_motorola_sm6225/drivers/virtio
Rusty Russell 2557a933b7 virtio: remove overzealous BUG_ON.
The 'disable_cb' callback is designed as an optimization to tell the host
we don't need callbacks now.  As it is not reliable, the debug check is
overzealous: it can happen on two CPUs at the same time.  Document this.

Even if it were reliable, the virtio_net driver doesn't disable
callbacks on transmit so the START_USE/END_USE debugging reentrance
protection can be easily tripped even on UP.

Thanks to Balaji Rao for the bug report and testing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: Balaji Rao <balajirrao@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-07 13:14:22 -07:00
..
config.c Virtio interface 2007-10-23 15:49:54 +10:00
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio.c virtio: Allow virtio to be modular and used by modules 2008-02-04 23:50:06 +11:00
virtio_balloon.c virtio: handle > 2 billion page balloon targets 2008-03-17 22:58:19 +11:00
virtio_pci.c virtio_pci iomem annotations 2008-03-30 14:20:23 -07:00
virtio_ring.c virtio: remove overzealous BUG_ON. 2008-04-07 13:14:22 -07:00