From: Michael S. Tsirkin Date: Thu, 27 Nov 2014 19:19:02 +0000 (+0200) Subject: virtio: add low-level APIs for feature bits X-Git-Tag: omap-for-v3.19/fixes-rc1~129^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4024af56f7c6cdb7e721994204fb07b2cda8be9;p=pandora-kernel.git virtio: add low-level APIs for feature bits Add low level APIs to test/set/clear feature bits. For use by transports, to make it easier to write code independent of feature bit array format. Note: APIs is prefixed with __ and has _bit suffix to stress its low level nature. It's for use by transports only: drivers should use virtio_has_feature and never need to set/clear features. Signed-off-by: Michael S. Tsirkin Reviewed-by: Cornelia Huck --- Reading git-diff-tree failed