[Skiboot] [PATCH 04/13] libflash/ecc: disable asm version for clang
Joel Stanley
joel at jms.id.au
Wed May 2 18:37:44 AEST 2018
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
libflash/ecc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libflash/ecc.c b/libflash/ecc.c
index cfb1a1364bce..fec2c8bf2260 100644
--- a/libflash/ecc.c
+++ b/libflash/ecc.c
@@ -112,7 +112,7 @@ static enum eccbitfields syndromematrix[] = {
static uint8_t parity(uint64_t data)
{
-#ifdef __SKIBOOT__
+#if defined(__SKIBOOT__) && !defined(__clang__)
uint8_t p;
asm volatile(
--
2.17.0
More information about the Skiboot
mailing list