From patchwork Fri Jul 6 00:49:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10510469 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 32CB0603D7 for ; Fri, 6 Jul 2018 00:50:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 226F220CCF for ; Fri, 6 Jul 2018 00:50:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 15CE628358; Fri, 6 Jul 2018 00:50:02 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE72D20CCF for ; Fri, 6 Jul 2018 00:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753780AbeGFAuA (ORCPT ); Thu, 5 Jul 2018 20:50:00 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:44293 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753782AbeGFAt4 (ORCPT ); Thu, 5 Jul 2018 20:49:56 -0400 Received: by mail-qk0-f196.google.com with SMTP id v17-v6so3040897qkb.11 for ; 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=ePWHRjJSwZ8vNOJyP9cekALtwL3Ld6OqABwX8bWb3vB32eU5Tbg/m2vbAhnSdK43LJ YCDX0mODOUrhC4JUo5STb6P67YX0735CKeoOqFh5MVXUHJzu4w/zrU0aIsAqgh0dPRf3 jDqyah/PDNLCOeigDzkLR7Nt2Ak6dZuExq7OUckiZOJuSCzsyXfr3hj46Koao8aEeVfr MeTqsywIH+AIjX2070SAs7c9aAnsdgJwsaki184Q5qLP6HHhEIBJzswFWHa55uTlbOk5 isPikxfYGsTItZMGQ610ddcDn/05/tem0YTjc3FvVrRn1A5iz+7wHvp/tg2V4i940pYv at8w== X-Gm-Message-State: APt69E0mx+1PzZR2J+nSwgaJfhoOrVGsDKMyUpzMzUjQcs88qoswDd7g uD/tVBeB5m91HFjuDAutqyK5nQ== 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 To: mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Michael Ellerman Cc: Laura Abbott , Andy Lutomirski , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org 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> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- v6: Remove semi-colon --- arch/powerpc/kernel/vdso32/note.S | 3 +++ 1 file changed, 3 insertions(+) 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 #include +#include #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