From patchwork Wed Jul 22 11:21:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 6842231 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 E2C089F38B for ; Wed, 22 Jul 2015 11:24:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2950620748 for ; Wed, 22 Jul 2015 11:24: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 4B28F2064B for ; Wed, 22 Jul 2015 11:24: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 1ZHs6p-0005sH-Ib; Wed, 22 Jul 2015 11:22:47 +0000 Received: from mail-wi0-f180.google.com ([209.85.212.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHs5o-0005WT-OS for linux-arm-kernel@lists.infradead.org; Wed, 22 Jul 2015 11:21:45 +0000 Received: by wibud3 with SMTP id ud3so149484744wib.1 for ; Wed, 22 Jul 2015 04:21:22 -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:in-reply-to :references; bh=oVJh8PEXPFwrljv3fWYKcFIU6NhUX3a/uHgS/z85384=; b=eDceYcV/LCejgJOC0LMhVLPa2WfWvik8Kw3mOqtSnO/uyGB8crvoGGW6leHXBN1AZT RUwPaDIr0L7bzPR1hM2QRxnbAj3ae8czFyXRaDpQrxTh4pOdPlNqZOeTxYDhinbgdxmL 8QyWzhUO9lQ5ci42kd+Z4f/s/iNVQ9snva9/pOw9bt2JggjB9Irp6s+5YEPzqc++kkwW T8OP1AqxRbz33R4xnOxVmRyrFAJ5pMVtHvIAfcBxUdTXqhqkrjMptITVhDUwFyrWF9Yi H02BXl4kqHn4aCknpVa9I4esIglON3JZ+RrbX3c7am3Qbwb2yQRuSGVBi/crvsNBeKqC DJ5A== X-Gm-Message-State: ALoCoQlLQ3tu6kwj5/wtx8x+d3njI3JKbo9461m5KS2SlHEgSGdvQ0MKL7BtT1B1AOdGNd0nYOfF X-Received: by 10.180.103.69 with SMTP id fu5mr12615822wib.95.1437564082841; Wed, 22 Jul 2015 04:21:22 -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 j7sm1901235wjz.11.2015.07.22.04.21.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 04:21:21 -0700 (PDT) From: Daniel Thompson To: Catalin Marinas , Will Deacon Subject: [PATCH v3 5/5] arm64: alternative: Remove alternative_insn macro Date: Wed, 22 Jul 2015 12:21:05 +0100 Message-Id: <1437564065-4356-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1437564065-4356-1-git-send-email-daniel.thompson@linaro.org> References: <1436536130-31438-1-git-send-email-daniel.thompson@linaro.org> <1437564065-4356-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150722_042144_952117_B7C87734 X-CRM114-Status: GOOD ( 10.04 ) 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: Daniel Thompson , linaro-kernel@lists.linaro.org, patches@linaro.org, Marc Zyngier , Andre Przywara , linux-kernel@vger.kernel.org, John Stultz , Christoffer Dall , Sumit Semwal , 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=-5.4 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 This macro has been superceded by the alterntive_if_not/else/endif macro family and is no longer used anywhere in the kerne. Remove it. Signed-off-by: Daniel Thompson --- arch/arm64/include/asm/alternative.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/include/asm/alternative.h b/arch/arm64/include/asm/alternative.h index e86681ad0931..81c7369eb358 100644 --- a/arch/arm64/include/asm/alternative.h +++ b/arch/arm64/include/asm/alternative.h @@ -65,18 +65,6 @@ void free_alternatives_memory(void); .byte \alt_len .endm -.macro alternative_insn insn1 insn2 cap -661: \insn1 -662: .pushsection .altinstructions, "a" - altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f - .popsection - .pushsection .altinstr_replacement, "ax" -663: \insn2 -664: .popsection - .org . - (664b-663b) + (662b-661b) - .org . - (662b-661b) + (664b-663b) -.endm - /* * Begin an alternative code sequence. *