Skip to content
Commit e3ebf0d4 authored by Gideon Israel Dsouza's avatar Gideon Israel Dsouza Committed by Jens Axboe
Browse files

block: Use macros from compiler.h instead of __attribute__((...))



To increase compiler portability there are several macros defined
in <linux/compiler.h> for various gcc __attribute((..)) constructs.
I've made sure gcc these specific were replaced with the right
macro and an #include <linux/compiler.h> was placed where needed.

Signed-off-by: default avatarGideon Israel Dsouza <gidisrael@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent b4d7124b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment