bcache: Fix building error on MIPS
authorHuacai Chen <chenhc@lemote.com>
Fri, 24 Nov 2017 23:14:25 +0000 (15:14 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Nov 2017 23:22:58 +0000 (16:22 -0700)
commitcf33c1ee5254c6a430bc1538232b49c3ea13e613
tree0318204e26ecf0913cbd7587e198828451d58a31
parentbb22cafd75686d799dabfe422571fac4b5c2ed94
bcache: Fix building error on MIPS

This patch try to fix the building error on MIPS. The reason is MIPS
has already defined the PTR macro, which conflicts with the PTR macro
in include/uapi/linux/bcache.h.

[fixed by mlyle: corrected a line-length issue]

Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/alloc.c
drivers/md/bcache/extents.c
drivers/md/bcache/journal.c
include/uapi/linux/bcache.h