diff mbox

sh: Work around GCC bug in set_bl_bit()

Message ID ed5637cc82664f68c1609e0f511808c412d4cf68.1285498785.git.matt@console-pimps.org (mailing list archive)
State Deferred
Headers show

Commit Message

Matt Fleming Sept. 26, 2010, 11:08 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/include/asm/system_32.h b/arch/sh/include/asm/system_32.h
index 9bd2684..d933748 100644
--- a/arch/sh/include/asm/system_32.h
+++ b/arch/sh/include/asm/system_32.h
@@ -250,7 +250,7 @@  static inline void set_bl_bit(void)
 		"and	%3, %0\n\t"
 		"ldc	%0, sr\n\t"
 		: "=&r" (__dummy0), "=r" (__dummy1)
-		: "r" (0x10000000), "r" (0xffffff0f)
+		: "r" (0x10000000), "r" (0xffffffff)
 		: "memory"
 	);
 }