From patchwork Fri Aug 4 17:17:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Salyzyn X-Patchwork-Id: 9881759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D2F0160360 for ; Fri, 4 Aug 2017 17:18:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B731128985 for ; Fri, 4 Aug 2017 17:18:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABEB1289A8; Fri, 4 Aug 2017 17:18:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3BCF328985 for ; Fri, 4 Aug 2017 17:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=8vIErCjv71bCpHTc96hUy6LcAoQbDVnG88qwwntAvXs=; b=B+X u8TeSFPwQujIHDr+8CMQ9zzD4lN9kjpEOfUjwAvR7kekfw5Y2aif4C0RT7sqoRPkdCiyDi8DBhAY2 jK/YpJ/GLl2KEd3+c+Gu8Yt19FrS8WfjPBkNgfE9CJyKE5iMtGNyRev9EBgOFpS/wPwUEN03e8uIO 8T7Cn5yVMj1xLBxXbyr/Cz/1ZIkPr0d1+a0qymgwdzAxa8z70seoyEehGnknZcJOvI/o9d7VohW62 vkDE0Zj18C1un6tOddMZjjyQ1TmHBLUBC4U//hTms7IBlFRR5rrfPPxqLaDOOtMxG0ZEIaeF6BxdK bkOZvZxQ+zPucN5OWCaSwoDCbF1S8wg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddgEV-0003dS-QD; Fri, 04 Aug 2017 17:17:55 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddgER-0003cN-JY for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 17:17:53 +0000 Received: by mail-pf0-x229.google.com with SMTP id t86so10238128pfe.2 for ; Fri, 04 Aug 2017 10:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NfdmX0IbSyy9wKGdS8QkHSarE4aCkZM4uFIWU0aZG1k=; b=SKbYBXUjfTaaA6OCq4xXSqn7fyCcYUGJLOpu5PfhdNcneFab01YNti+UVUtzIof/+h J8gRUPOCeQGyEdGdaNqtoModU6VHqXugOO/rMtH/ePXufCUAeDBOUIEtj/nNmVxmD1RD 1pkGV1zQ/+3XHdosAHQpHF/PgdCyhH6ZBalPoU7Cm9UsZgzvSeI9sNbdt4uIeXbUKpUK 9C2KeOWFiQCV0f1mXSgm0Z1pEFC7fna6QZe6xjZjLVtzKFQ8EC0tivzPAQmi3lQOp/MW K71mpq1klo0Nr34w+/Bla8QqIJspfpEpJI+hKDkav540Letuv5Tc8sz+qNsYxyd78ly9 JvDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NfdmX0IbSyy9wKGdS8QkHSarE4aCkZM4uFIWU0aZG1k=; b=k533y90Y60/V4j780UFYex9HkFsq1IVeOn/fJsFQ+7J2VeoqEdvn122g8DBxkezC3v tV8mE1IqahgS2ik7heqslilmQXkhbqrPlVzKXj2FiLUvMKcutbHupPzJkZji86Ljh64G cmxskHuMK/0BWYfE42aG5PGQhVl35owjfBCvqlf8qSqiY+hPhhLQFoMUCNu2H0fZIfw5 ozb5kyKWMYveqkGeTPZaBy1aRUjauPCQ6E0/EmPTAQAA4UsJBHqGkTxfQF62L1y+Dd4O MfQQFjm0pFKV6bexr1tUC1slmT7V+VRQClgNbVVisYaU8yZtwE35bp14KITtRGimfC9N bM0g== X-Gm-Message-State: AIVw1120fpUs2njQE/P9FP5cUO2TLDNMTXJvGOIedgqhYY8+J71Hn71J iHVvNx/QboArjUfm X-Received: by 10.99.110.1 with SMTP id j1mr3017859pgc.218.1501867049441; Fri, 04 Aug 2017 10:17:29 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([100.98.120.17]) by smtp.gmail.com with ESMTPSA id r62sm1638877pfr.111.2017.08.04.10.17.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Aug 2017 10:17:29 -0700 (PDT) From: Mark Salyzyn To: linux-kernel@vger.kernel.org Subject: [PATCH] arm64: compat: Remove leftover variable declaration Date: Fri, 4 Aug 2017 10:17:00 -0700 Message-Id: <20170804171710.21736-1-salyzyn@android.com> X-Mailer: git-send-email 2.14.0.rc1.383.gd1ce394fe2-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170804_101751_715294_08A5A70E X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Kevin Brodsky , Will Deacon , linux-arm-kernel@lists.infradead.org, Mark Salyzyn MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kevin Brodsky Commit a1d5ebaf8ccd ("arm64: big-endian: don't treat code as data when copying sigret code") moved the 32-bit sigreturn trampoline code from the aarch32_sigret_code array to kuser32.S. The commit removed the array definition from signal32.c, but not its declaration in signal32.h. Remove the leftover declaration. Signed-off-by: Kevin Brodsky Signed-off-by: Mark Salyzyn --- arch/arm64/include/asm/signal32.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/include/asm/signal32.h b/arch/arm64/include/asm/signal32.h index eeaa97559bab..81abea0b7650 100644 --- a/arch/arm64/include/asm/signal32.h +++ b/arch/arm64/include/asm/signal32.h @@ -22,8 +22,6 @@ #define AARCH32_KERN_SIGRET_CODE_OFFSET 0x500 -extern const compat_ulong_t aarch32_sigret_code[6]; - int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set, struct pt_regs *regs); int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,