Message ID | 20180706004940.32587-4-labbott@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 67DCC60532 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 00:50:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58CCC2810E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 00:50:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CAA02834A; Fri, 6 Jul 2018 00:50:51 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0CDAC2810E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 00:50:50 +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:References: In-Reply-To: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:List-Owner; bh=gvIPBbs/HPI7APAjMJZiioVkOagX7LgJydW5GIKyBFo=; b=Ti5Z4i3x1lLkd+/xeIIUropti/ pJKJT7f6D9prKl9n5AG2tT015RogEgv6mhogmJnAF8zczTm0GPvpl6QNir7dibVnHfArHBPfJkVWg wQkQnZHt8Sqel17m3LOw9Q5O9dLhmYhntvOp3cdlYOwhVKJA8PTsUfLr6cgPm4EqO79f9OG/xvhMm 3G4h58N3tfgE4XaG/cTncjLAozo0eFlUGUsyGcQKQmrROt/HVAHQurNUOUSqu9KsyZvkGg6aASUAv a54gGcwqYtexrYhQEINp4tn/2SUYGOnC8XfNvFLtvfbw4Fa5KH1aCA7uUwsy5vd/ooUiSLBI3Q2DZ 1C7QNJjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbExN-0007fV-8x; Fri, 06 Jul 2018 00:50:41 +0000 Received: from mail-qk0-f194.google.com ([209.85.220.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbEwp-0006Ew-7Q for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2018 00:50:09 +0000 Received: by mail-qk0-f194.google.com with SMTP id c192-v6so5489403qkg.12 for <linux-arm-kernel@lists.infradead.org>; Thu, 05 Jul 2018 17:49:56 -0700 (PDT) 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:in-reply-to :references; bh=jF9vhHMbhCIoy849wuH0XzT7nyqYG2N3OmiLDtOcUco=; b=ESPRYOmWNOSE2gb/fVOMiNqzuvz3OzDr6DQMp1DFEIX6mpK8DUEfwn2Fo9MYjO2T3x Z37HXGV3/XyzUTMLB07ub60MHPnZQdiQPy1zk/8nwvBZWxHSNTpu5UffOhrAF33wqkSr /YSJ2hacsOrmB8kld2pc7IPLUJr/n3SpAxBRS4eBTfFC3OW2+sgkmOu7MgO469ahy8b2 7tYFoYKWj+5dntKelcKE40F31bfO2I2kwQtyuMXnpc1fKxPdihLjPuTpz8q9aBS2k79L 6mqc8tVhwdwfbIrQ+Lv3tmVIpKtypEhlYmijI5QZHdIg9DslKq8+eizOiofF4QnoMXs0 e6vA== X-Gm-Message-State: APt69E3wN9mcg67GL0Dp5D6rYvHuW0po4yCE4vOBYE6rgEPz+Obg4dO/ H4x55sRxvMmoBShDxT39ibBFdw== X-Google-Smtp-Source: AAOMgpfznhwUV1q/oCR6qzOvFshlkWZIRKc6U5LBpxA4eui7YlkNPMW5sxw/WlZIh8EITS2KQoNlJg== X-Received: by 2002:a37:d61b:: with SMTP id t27-v6mr6770286qki.244.1530838196243; Thu, 05 Jul 2018 17:49:56 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id q67-v6sm4675205qkb.16.2018.07.05.17.49.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 17:49:55 -0700 (PDT) From: Laura Abbott <labbott@redhat.com> To: mjw@fedoraproject.org, "H . J . Lu" <hjl.tools@gmail.com>, Masahiro Yamada <yamada.masahiro@socionext.com>, Michael Ellerman <mpe@ellerman.id.au> Subject: [PATCHv6 3/4] powerpc: Add build salt to the vDSO Date: Thu, 5 Jul 2018 17:49:39 -0700 Message-Id: <20180706004940.32587-4-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180706004940.32587-1-labbott@redhat.com> References: <20180706004940.32587-1-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180705_175007_596015_C25CEB43 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Nick Clifton <nickc@redhat.com>, linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, X86 ML <x86@kernel.org>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, Andy Lutomirski <luto@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Cary Coutant <ccoutant@gmail.com>, Laura Abbott <labbott@redhat.com>, Linus Torvalds <torvalds@linux-foundation.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/powerpc/kernel/vdso32/note.S b/arch/powerpc/kernel/vdso32/note.S index d4b5be4f3d5f..227a7327399e 100644 --- a/arch/powerpc/kernel/vdso32/note.S +++ b/arch/powerpc/kernel/vdso32/note.S @@ -5,6 +5,7 @@ #include <linux/uts.h> #include <linux/version.h> +#include <linux/build-salt.h> #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ .section name, flags; \ @@ -23,3 +24,5 @@ ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0) .long LINUX_VERSION_CODE ASM_ELF_NOTE_END + +BUILD_SALT
The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Signed-off-by: Laura Abbott <labbott@redhat.com> --- v6: Remove semi-colon --- arch/powerpc/kernel/vdso32/note.S | 3 +++ 1 file changed, 3 insertions(+)