summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorDwight Engen <dwight.engen@oracle.com>2014-12-11 20:26:15 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-12 05:52:45 +0300
commitfe47c3c2623d6914655f507a317a6b881bc7c6a4 (patch)
treeb9e30d272af800b1de1f59c7ebe661bc9ac7eb67 /drivers/s390
parent31f4888f51afb038f7f8e7e4b3f0a80587c92c9b (diff)
downloadlinux-fe47c3c2623d6914655f507a317a6b881bc7c6a4.tar.xz
vio: create routines for inc,dec vio dring indexes
Both sunvdc and sunvnet implemented distinct functionality for incrementing and decrementing dring indexes. Create common functions for use by both from the sunvnet versions, which were chosen since they will still work correctly in case a non power of two ring size is used. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions