lib/raid6: avoid __attribute_const__ redefinition
authorDaniel Verkamp <dverkamp@chromium.org>
Mon, 12 Nov 2018 23:22:17 +0000 (15:22 -0800)
committerShaohua Li <shli@fb.com>
Thu, 20 Dec 2018 16:53:23 +0000 (08:53 -0800)
commit58af3110a7c5d161f72f94a98c6f2b9b75bf5cf9
tree10f3553322f89ee965719f385cef90063d278543
parente731f3e28b7e7d1c745b03084e01036ee00018eb
lib/raid6: avoid __attribute_const__ redefinition

This is defined in glibc's sys/cdefs.h on my system with the same
definition as the raid6test fallback definition.  Add a #ifndef check to
avoid a compiler warning about redefining it.

Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Signed-off-by: Shaohua Li <shli@fb.com>
include/linux/raid/pq.h