From patchwork Mon Apr 18 15:09:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 66036 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1339890qge; Mon, 18 Apr 2016 08:10:18 -0700 (PDT) X-Received: by 10.98.87.193 with SMTP id i62mr14686213pfj.114.1460992218280; Mon, 18 Apr 2016 08:10:18 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si7590891pan.105.2016.04.18.08.10.17; Mon, 18 Apr 2016 08:10:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752250AbcDRPKG (ORCPT + 29 others); Mon, 18 Apr 2016 11:10:06 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38616 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752007AbcDRPKB (ORCPT ); Mon, 18 Apr 2016 11:10:01 -0400 Received: by mail-wm0-f54.google.com with SMTP id u206so128994512wme.1 for ; Mon, 18 Apr 2016 08:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZYFxkE73SGV6ymhLIucFeDhRJwwnIMAVSIQzZSfEZuI=; b=dl3BZbbqWJWW5YcrIyp4jepXbH6MUxxrK6zyxWiCeu7e2fDrHBWZ8S19NsFLa1nMKa nzrFA3kCUZxancuTZFPZQMW7S2csE5k39jD6R9FxxmJTAkVNjJFFmqPnOkk4Ljb+Vae0 l7KTUmmVINBy6Ro6UM/TgpSEHaANOf4N/BYbU= 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=ZYFxkE73SGV6ymhLIucFeDhRJwwnIMAVSIQzZSfEZuI=; b=Fn6AMdUG/yISd1fQbD0JMFYX8KFwcvAjhMx9fwVHIPbvuqzdw91srgQAHxLmx0syne MTBH20NA3vWVbet7WIfUCU8bckmYmd6Q95ENtYNPgeqf3/SzaIXhBgjh1rcDZk6/W84g CAv4VLGd8jna+1c6Bhdjzlc/XNTTptN9vd+GFQASrNE0l5CsHH7waCA+kN/tNsHSAHYg yHb6GZBFTcX9n0OLnQWLeEJV6razxGaNduLwmNd9bQnPyMuCUSIgtC/wUX8cEfEKQPJ7 481BeI1v6PpOLBmXi3N3QJwEHFKP7dP2SgrotruhxtqJ4GIfjHZDCa56QTGmrStPiJP0 PkOQ== X-Gm-Message-State: AOPr4FVPGZzdIuC4L68eOaThHd85FXljAaCFCdjpnkAFz/WQH2Ot6Ur6LMu4M1HiZ7+z/3YU X-Received: by 10.194.61.40 with SMTP id m8mr36092193wjr.106.1460992199888; Mon, 18 Apr 2016 08:09:59 -0700 (PDT) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id b135sm54232075wmb.10.2016.04.18.08.09.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Apr 2016 08:09:59 -0700 (PDT) From: Ard Biesheuvel To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, will.deacon@arm.com, mark.rutland@arm.com, james.morse@arm.com Cc: catalin.marinas@arm.com, Ard Biesheuvel Subject: [PATCH 1/8] arm64: kernel: don't export local symbols from head.S Date: Mon, 18 Apr 2016 17:09:41 +0200 Message-Id: <1460992188-23295-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460992188-23295-1-git-send-email-ard.biesheuvel@linaro.org> References: <1460992188-23295-1-git-send-email-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This unexports some symbols from head.S that are only used locally. Signed-off-by: Ard Biesheuvel --- arch/arm64/kernel/head.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.5.0 Acked-by: Mark Rutland diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index b43417618847..ac27d8d937b2 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -638,7 +638,7 @@ ENDPROC(el2_setup) * Sets the __boot_cpu_mode flag depending on the CPU boot mode passed * in x20. See arch/arm64/include/asm/virt.h for more info. */ -ENTRY(set_cpu_boot_mode_flag) +set_cpu_boot_mode_flag: adr_l x1, __boot_cpu_mode cmp w20, #BOOT_CPU_MODE_EL2 b.ne 1f @@ -691,7 +691,7 @@ ENTRY(secondary_entry) b secondary_startup ENDPROC(secondary_entry) -ENTRY(secondary_startup) +secondary_startup: /* * Common entry point for secondary CPUs. */ @@ -706,7 +706,7 @@ ENTRY(secondary_startup) ENDPROC(secondary_startup) 0: .long (_text - TEXT_OFFSET) - __secondary_switched -ENTRY(__secondary_switched) +__secondary_switched: adr_l x5, vectors msr vbar_el1, x5 isb