Linux 2.6.36 compat, blk_* macros removed
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Nov 2010 00:38:14 +0000 (16:38 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Nov 2010 01:00:40 +0000 (17:00 -0800)
commit8326eb4605a3d7c87cac15d5d11316fb99cd9ab0
tree1ba02088aa9d351fb50243353cfa12df15b3deca
parent675de5aa379bfceb0258a20c4ccd1414e4798ee6
Linux 2.6.36 compat, blk_* macros removed

Most of the blk_* macros were removed in 2.6.36.  Ostensibly this was
done to improve readability and allow easier grepping.  However, from
a portability stand point the macros are helpful.  Therefore the needed
macros are redefined here if they are missing from the kernel.
include/sys/blkdev.h