From patchwork Fri Jul 6 00:49:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10510471 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 427AE603D7 for ; Fri, 6 Jul 2018 00:50:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 340482821F for ; Fri, 6 Jul 2018 00:50:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 287D12834A; Fri, 6 Jul 2018 00:50:04 +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 54A7B28346 for ; Fri, 6 Jul 2018 00:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753851AbeGFAuC (ORCPT ); Thu, 5 Jul 2018 20:50:02 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:39520 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753845AbeGFAuA (ORCPT ); Thu, 5 Jul 2018 20:50:00 -0400 Received: by mail-qk0-f195.google.com with SMTP id b5-v6so3501387qkg.6 for ; Thu, 05 Jul 2018 17:50:00 -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=PFn9mkwdccGrhASv75koBIRMBltlMYl7BIJMUgrwj/0=; b=tyAjUwnItP034nKJK0v1weMzMItsdE2jSEU/xYNDBEUsDjt65QiRbi2T/O8nYPdP8E eGEUvmqcphODwTEFAehN7Y5FWnmwoaMEhoupw6F6CE7r7zAcib7TXsCoHgI75WPLgYzP qyE7z5dONdXxwfaz+HkYJ1i9gySrMe7TfXvVX0z/xqW8AU8mnL/5tpQavho/EK9UWt5X QUhL6Uci06ermmYVEdCSUF2RR1nv3hT5+j1yGZlCSMDdZ+hHRDm0F+B5XsoWCbM2Wvkt jYYcHJJJP+4oPZu5VLDzZ5YeQnZLk9KEtneVTXWaD3iuMgZ/ISBmQXczJbuyzUljycQ0 mNPA== X-Gm-Message-State: APt69E00ZVzWX6ciq5g6WSI49lhrkKNyasHacRh8IHRqiMEvXcas6kcX ml2C8DV51w+5HXuPnvUI33vDeg== X-Google-Smtp-Source: AAOMgpf0gZNH5HO9WbONhZv8whNft0fjWjfHb38QRUH9TItapPCX8LphEPMjmKoGWv3l4ODNPVIDQw== X-Received: by 2002:ae9:dc05:: with SMTP id q5-v6mr1842490qkf.332.1530838199726; Thu, 05 Jul 2018 17:49:59 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 17:49:58 -0700 (PDT) From: Laura Abbott To: mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Catalin Marinas , Will Deacon 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, Michael Ellerman , linux-arm-kernel@lists.infradead.org Subject: [PATCHv6 4/4] arm64: Add build salt to the vDSO Date: Thu, 5 Jul 2018 17:49:40 -0700 Message-Id: <20180706004940.32587-5-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. Acked-by: Will Deacon Signed-off-by: Laura Abbott --- v6: Remove the semi-colon, Ack from Will --- arch/arm64/kernel/vdso/note.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/kernel/vdso/note.S b/arch/arm64/kernel/vdso/note.S index b82c85e5d972..e20483b104d9 100644 --- a/arch/arm64/kernel/vdso/note.S +++ b/arch/arm64/kernel/vdso/note.S @@ -22,7 +22,10 @@ #include #include #include +#include ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END + +BUILD_SALT