From patchwork Mon Feb 8 10:53:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 77709 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o18AxtMM024496 for ; Mon, 8 Feb 2010 10:59:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736Ab0BHK7y (ORCPT ); Mon, 8 Feb 2010 05:59:54 -0500 Received: from mail-yx0-f193.google.com ([209.85.210.193]:51242 "EHLO mail-yx0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445Ab0BHK7y (ORCPT ); Mon, 8 Feb 2010 05:59:54 -0500 Received: by yxe31 with SMTP id 31so5475849yxe.21 for ; Mon, 08 Feb 2010 02:59:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=IW3JHVPgcdcaEtBt/KBZYoeWNOriGYlLwX+U1QtIUB4=; b=d+QmiFMI73vKlZ3qfA8/4dzhBE4x+XmAhbj7LQ4eMfv22UUjbNvhk4lTXAZZ3UpznQ 2rnCPFPpS8ZLH7hpHirJDlljc4JgQJeAK6BjMgEM1gN+wyyr7xY6zJIjMeJWWe4tbMHN uqvYBLQ94YcF/VoppS+FwBLmXDnYOlw2s9BGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=qclkehY3wID94eSRLf6Xij6sSxFSULd7TbrO9d5wlLFut++/N/XiNllmHoRH7jGwS7 zMAYotXFB5cdZIaHCFdhBaOQQmkPNltxWRwRg+KHqHfZ9/c05dm/0rcrGlRAor91I/EO /tvEacmnszJKgQkTqrMzKboJsLCei+nUnwni4= Received: by 10.90.13.27 with SMTP id 27mr1592702agm.28.1265626792781; Mon, 08 Feb 2010 02:59:52 -0800 (PST) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 20sm1370573yxe.38.2010.02.08.02.59.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 02:59:52 -0800 (PST) From: Magnus Damm To: lethal@linux-sh.org Cc: Magnus Damm , linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org Date: Mon, 08 Feb 2010 19:53:13 +0900 Message-Id: <20100208105313.5976.54002.sendpatchset@rxone.opensource.se> Subject: [PATCH] ARM: mach-shmobile: optimize get_irqnr_preamble/and_base macros 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 (demeter.kernel.org [140.211.167.41]); Mon, 08 Feb 2010 10:59:55 +0000 (UTC) --- 0002/arch/arm/mach-shmobile/include/mach/entry-macro.S +++ work/arch/arm/mach-shmobile/include/mach/entry-macro.S 2010-02-08 14:47:31.000000000 +0900 @@ -21,13 +21,13 @@ .endm .macro get_irqnr_preamble, base, tmp + ldr \base, =INTFLGA .endm .macro arch_ret_to_user, tmp1, tmp2 .endm .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =INTFLGA ldr \irqnr, [\base] cmp \irqnr, #0 beq 1000f