From patchwork Sun Sep 26 11:08:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Fleming X-Patchwork-Id: 209902 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8QB8fSW012180 for ; Sun, 26 Sep 2010 11:08:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756962Ab0IZLIj (ORCPT ); Sun, 26 Sep 2010 07:08:39 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:38916 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756555Ab0IZLIj (ORCPT ); Sun, 26 Sep 2010 07:08:39 -0400 Received: by arkanian.console-pimps.org (Postfix, from userid 1002) id 1D3594432D; Sun, 26 Sep 2010 12:08:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on arkanian.vm.bytemark.co.uk X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from localhost (cpc5-brad6-0-0-cust25.barn.cable.virginmedia.com [82.38.64.26]) by arkanian.console-pimps.org (Postfix) with ESMTPSA id 7DF534432D; Sun, 26 Sep 2010 12:08:37 +0100 (BST) From: Matt Fleming To: Paul Mundt Cc: linux-sh@vger.kernel.org, superh-gnu-discuss@codesourcery.com Subject: [PATCH] sh: Work around GCC bug in set_bl_bit() Date: Sun, 26 Sep 2010 12:08:37 +0100 Message-Id: X-Mailer: git-send-email 1.7.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 26 Sep 2010 11:08:41 +0000 (UTC) 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" ); }