Merge branch 'gma500-next' of git://github.com/patjak/drm-gma500 into drm-next
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / block / blk.h
index 47fdfdd41520611f59caca02bfeb0623951fa9d5..e837b8f619b7d646825d43ea5ddeb9beacbea3d2 100644 (file)
@@ -61,7 +61,7 @@ static inline void blk_clear_rq_complete(struct request *rq)
 /*
  * Internal elevator interface
  */
-#define ELV_ON_HASH(rq)                (!hlist_unhashed(&(rq)->hash))
+#define ELV_ON_HASH(rq) hash_hashed(&(rq)->hash)
 
 void blk_insert_flush(struct request *rq);
 void blk_abort_flushes(struct request_queue *q);