aboutsummaryrefslogtreecommitdiff
path: root/arch/mn10300/lib/checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/lib/checksum.c')
-rw-r--r--arch/mn10300/lib/checksum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/lib/checksum.c b/arch/mn10300/lib/checksum.c
index 274f29ec33c..b6580f5d89e 100644
--- a/arch/mn10300/lib/checksum.c
+++ b/arch/mn10300/lib/checksum.c
@@ -22,6 +22,7 @@ static inline unsigned short from32to16(__wsum sum)
" addc 0xffff,%0 \n"
: "=r" (sum)
: "r" (sum << 16), "0" (sum & 0xffff0000)
+ : "cc"
);
return sum >> 16;
}