From patchwork Fri Jul 10 13:58:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 6766211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0DCC69F319 for ; Fri, 10 Jul 2015 14:01:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3EB3320681 for ; Fri, 10 Jul 2015 14:01:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 384DE2027D for ; Fri, 10 Jul 2015 14:01:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDYp0-0006YI-Ec; Fri, 10 Jul 2015 13:58:34 +0000 Received: from mail-wi0-f175.google.com ([209.85.212.175]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDYoy-0006SX-Aw for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 13:58:32 +0000 Received: by wiga1 with SMTP id a1so16243367wig.0 for ; Fri, 10 Jul 2015 06:58:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kPWG96yXSKcWJA/jLkE7QfwDcMLTe5MMdmf02HqoGwo=; b=Ezodl99RaN9/swqfnIsX0atL3U6oXokP+2RUAzCTlRRX8UEmUpJ7BaXnWpVIjC1gvJ yM6d9XFlXbiF7+QBcFiNrU1SJCaFBxX0kkj00NuYdfvuNtg5QDmmxeOv4eHfz/oW9MM6 6X/EhPQMcH5gn/OmcG++edWyPja+tterBsAQBfNcZ+bBGvdy1EsDg1gVZkKP0CILgMJ4 UX8HwflJzd69lNmrpOedJEbab9kcRwybvg1uMDix1GUIkXqDJnR+CjeX7kOiQLT0/y8f sujCzMr4kT/l9vQlJb4/uZf7j7jPAcou1Hc0w/CDdW0CsRicl6nTKqJ7ZbLqBM+0uszx OtSg== X-Gm-Message-State: ALoCoQnAUH2oEmrS1JDhzE3gKgl2ai3cLF3joy4HMj7Tl5HYA7SRtGbsOCgif66gvzuOAz7BKX28 X-Received: by 10.194.20.161 with SMTP id o1mr43242969wje.32.1436536689721; Fri, 10 Jul 2015 06:58:09 -0700 (PDT) Received: from wychelm.lan (cpc4-aztw19-0-0-cust71.18-1.cable.virginm.net. [82.33.25.72]) by smtp.gmail.com with ESMTPSA id q9sm3054406wiz.23.2015.07.10.06.58.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 06:58:08 -0700 (PDT) From: Daniel Thompson To: Catalin Marinas , Will Deacon Subject: [PATCH] arm64: Remove unused macros from assembler.h Date: Fri, 10 Jul 2015 14:58:00 +0100 Message-Id: <1436536680-23661-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150710_065832_528671_037F75EE X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Daniel Thompson , linaro-kernel@lists.linaro.org, patches@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed the only users of these macros. Signed-off-by: Daniel Thompson Cc: Mark Rutland --- arch/arm64/include/asm/assembler.h | 12 ------------ 1 file changed, 12 deletions(-) -- 2.4.3 diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index 144b64ad96c3..e10516bbe833 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -50,18 +50,6 @@ .endm /* - * Save/disable and restore interrupts. - */ - .macro save_and_disable_irqs, olddaif - mrs \olddaif, daif - disable_irq - .endm - - .macro restore_irqs, olddaif - msr daif, \olddaif - .endm - -/* * Enable and disable debug exceptions. */ .macro disable_dbg