From patchwork Tue May 10 10:27:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12844772 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B17CC433EF for ; Tue, 10 May 2022 10:29:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=ymL3nVvFhgMsvbd1QHWj7JvRCRIVozVPrNMT8Zc40fU=; b=d2srcAC7N0zMmX BhKl8JYN+H7ShVBhVLj5EvogB+n8i+yrcshElBauRCx9BgKMyIEPP/K8+cSe5ti3o/9ssKBuN2/XZ AbZXJJ7Q0fKfyZQzMceOU4UrLV7g9JTxafx9atMPHwnvnr99uy/H0rJIvxwOwq3y7KrkZLyLphFDt DD7uwRdwbYcbivmWFFY0jsdYezye4GTUwo/tCoQ3+x234MAqxcn6iL0dOnDy2xhzcYBWosT63ePR0 jmtFWP6aRm26JlhEwMUj4idkgaDdayqkiVQH9pL5ZXjlRPGRAXqSUEfzyqW974IsIKZO8806C07el tkExS0Z7K54cn3DJEYBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noN64-001Bgb-Bk; Tue, 10 May 2022 10:28:04 +0000 Received: from mail-db8eur05on20608.outbound.protection.outlook.com ([2a01:111:f400:7e1a::608] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noN5z-001BeF-8L for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 10:28:01 +0000 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=kkdfCTQLUJkB8tq3f+kBE8OngsCluHzoT8AGK8i/3IvQUAYEJtFRcoIfgzQaNnEkGPTC7HhCecqwudsFdRKdRGh9hh9fSarI/HibKPAwGjAOluhKkrxZKsnPCYM8Nrvg9Kmdh+6jMlmCDqtt7dWKA4QYmi3UdUH5NKBF9471d4KIYhDb/UiPT9vJMwX4ZFWMltjh3pkxnV148s7KEcHdI0TTo2PdzR2ib/XzWOerJKmGgudhhxiC32Lz8AIJbWTgRmySBYjW7Hx33fr0gM7SMjHwtsk/naHx7jW99w1yj81SkEqOJ5zwA8mD+OdYF4vv73YqCkyzBQQdqkD5tyjVlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KzMzI95PGeS5t/UcVgVnZ3WTmZF9thOGoqdIGgXcirY=; b=BTLw0cTm/Q5bLM1QKL0CDy36tKxU3sIAS9kANuXv/mnwwcRPENTHNrfZiaxMoht+Dsn7PbBIxSHlnwEVo2Iao0xVT8d9NK7WA0ifI+olv3Tkx2d1FWQQuj8YQ0awhoY8J2ib3VBp7p+2D0TmLe5MwPRuAuxnG25XHMPIE2BAfvqi0xPkkNAP0oeDEDqQehvOseSpGDewb2Lje/F/sJhuK7IGvgmLb9zlkKbgiOa84iRbqkHCEU+RsFrQKBSD3Ct168E8VfPuAnfltHCNRaQOUh+Lndf0v2vq0ITytgm5AxmzhF5G8ZJrRLU9+mFxcwPbO1GexYD/63hFAoZBVYcnLg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1, 1, smtp.mailfrom=arm.com] dmarc=[1, 1, header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KzMzI95PGeS5t/UcVgVnZ3WTmZF9thOGoqdIGgXcirY=; b=kdjic4MXOHvpc4nHrHo5kaHhqJIkjmpxiX2qVsCpKxF/HjGUH453mvW9amyEI3gshqFE4ntcluZ/bMK0A7W4hFXCLxgbmhkSAq92Lyz3ptOE+vGszPGLzK8hFHR/W/4raaGyw/AGgy1sk2zrHIICBXniPTR/QEQx6ilczNjOYSI= Received: from AS9PR06CA0270.eurprd06.prod.outlook.com (2603:10a6:20b:45f::31) by AS8PR08MB8064.eurprd08.prod.outlook.com (2603:10a6:20b:54d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23; Tue, 10 May 2022 10:27:55 +0000 Received: from AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45f:cafe::88) by AS9PR06CA0270.outlook.office365.com (2603:10a6:20b:45f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.18 via Frontend Transport; Tue, 10 May 2022 10:27:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT063.mail.protection.outlook.com (10.152.16.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.15 via Frontend Transport; Tue, 10 May 2022 10:27:55 +0000 Received: ("Tessian outbound 9511859e950a:v118"); Tue, 10 May 2022 10:27:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fb62a20405a50573 X-CR-MTA-TID: 64aa7808 Received: from ffc958e54dd7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B7712936-ED02-452E-B63E-20FE6C8C2870.1; Tue, 10 May 2022 10:27:48 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ffc958e54dd7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 10 May 2022 10:27:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bz6WwNYh+JZfkmQRIE5+23oMW6Q6qHiZsMa00Et/sUX2T3uUqQ7wvktLpCC3+Ha+xj++dJZUGm8kNFEvjkD/SQzAW9xxRIjEB1MesCS7DVm13G+iGwZqGJrICslREepSc+wT4s+ePe+XJXylfIiob4JjqQrpX4Tc5CfomeA7C/MGy+mF6aFOG9gAGMjualyLAql/f0D+Ji5IwYFn4d1R1c88kiCgI3Bqa9z/dVB9ZsEOoaB4qKoHcNgFBJqZt75NdKah/ub9PZlDynbZ5hb/yB+zQA2paBQD+Nh/tgjX0kYXabwj0wi3pdUpD73/18JmlTAfheff0pxKQhd7PCGY/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KzMzI95PGeS5t/UcVgVnZ3WTmZF9thOGoqdIGgXcirY=; b=jPNLJXExBVAutlWm/4iKxNL9lQ5Q/CBb7OfamwHobRD6jBTIbuxREyodmyU+bSn7NDLH8Au5c+srsRk1ZaXDUQH7EvAZo7LUIHs55DyaNVJqFG0Kp7hd28rd0Go48yzvjqKcZP/AlvBsF4mmbiOH1fOxdGr2wx/EH0wNZXpg5EJOX+O4rRb/qmCu3N4ZblKi517GoIKHt2+pJrmKue8Xr+ZzVGELJuZSdLNox+jHQnDr7c/icaIwhW8Q2QQijox8Bv3FpnLnV5Z28k5bhNdn+dcFnVcX5rl/vN4HdMi9ZeHnBR2iQ48QRIAArVybCMOIb7Rv0hZfk0j0oFTeZVACjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KzMzI95PGeS5t/UcVgVnZ3WTmZF9thOGoqdIGgXcirY=; b=kdjic4MXOHvpc4nHrHo5kaHhqJIkjmpxiX2qVsCpKxF/HjGUH453mvW9amyEI3gshqFE4ntcluZ/bMK0A7W4hFXCLxgbmhkSAq92Lyz3ptOE+vGszPGLzK8hFHR/W/4raaGyw/AGgy1sk2zrHIICBXniPTR/QEQx6ilczNjOYSI= Received: from AS9PR05CA0022.eurprd05.prod.outlook.com (2603:10a6:20b:488::16) by AM9PR08MB7289.eurprd08.prod.outlook.com (2603:10a6:20b:434::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Tue, 10 May 2022 10:27:46 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:488:cafe::71) by AS9PR05CA0022.outlook.office365.com (2603:10a6:20b:488::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23 via Frontend Transport; Tue, 10 May 2022 10:27:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5227.15 via Frontend Transport; Tue, 10 May 2022 10:27:46 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.27; Tue, 10 May 2022 10:27:47 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.27; Tue, 10 May 2022 10:27:41 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2308.27 via Frontend Transport; Tue, 10 May 2022 10:27:46 +0000 From: Joey Gouly To: CC: , , , , , Subject: [PATCH v1] arm64: vdso: fix makefile dependency on vdso.so Date: Tue, 10 May 2022 11:27:21 +0100 Message-ID: <20220510102721.50811-1-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 23ab7550-b88e-4287-dfe8-08da326fbf01 X-MS-TrafficTypeDiagnostic: AM9PR08MB7289:EE_|AM5EUR03FT063:EE_|AS8PR08MB8064:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 76Sa/g5NOkWITXoRc8GZMcACv9dTP6eWw19Db9K1Po4BuPCjM15RTnftlQ1eUHLDuz0WH4hB7QmUykqt7lWi/ZjpkOaSkR2mXejTH7DTy0hgB5D2NlUDTO9a7wlNOAvJRDqFom6xk/VdLBOVnh3PNck1gYd5iOe4JviXlzMjKjMVcA7+y5VGpTAjZwkLimzGrBkWIcUl+KnsdlLfiO9xPCvd06lGKOZkuXYltZ7Fm3y+tw4VwEJxh5EGHhhQmlsKEOOiltgZ76ZOi1bwIscmwT01s3GFk38X/GxAfFc7PbEEjEZXEwHaTeazbp+SMw9IQRHlwSwa3X3JS8+bA/NKRhrsd230hkJfRLacMXfPTNb874ZbwUNt7Hufz+u/HyQk+9/E2nruSp11n0qtTcDCMxdeAL9vf2p4F3hbEA+FUWCe2F3oajZSfxr2gq21H7krFXv42UwAj64lWL0cQRZ2UL6IGzySVLkSSkmKSCVzheBSI9E8zxYcPwqjQTdhLfbi+ChkaxN0PDhNzvbtnhUdS85KJRIAqVWlIOxI/oJrAlDtXyRB0DUTRgM+eYx/wo8v3eDDje6+AtQAnlIVQjCnDywqsjyiOwrEpLlHpIMLSV8aMqgej3nO5/U8eI4pVL+2VsnTGNzQnhDAaiyiE6AWfLlBoPetGBKLlr63EAKE8XiKwQYqbO3bWaD9/6JSCrJLb8PlUARNUbs/slskLzG8Ag== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(2616005)(26005)(356005)(82310400005)(86362001)(5660300002)(36756003)(83380400001)(8936002)(1076003)(47076005)(316002)(70206006)(508600001)(6666004)(70586007)(44832011)(426003)(8676002)(4326008)(54906003)(336012)(6916009)(81166007)(7696005)(40460700003)(2906002)(186003)(36860700001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB7289 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 3e39ffcb-a49a-4405-78a0-08da326fb9f2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yk8pxmr6gBZqcT36LFLl6eNNtXfYY1bdZ4G57PVas9jPUZz3txMJXOt0QHayJyzGwkvC7mW472QYCBXy08YI3pgMu/oO/VSKfBay3GKDRnvers42W3S0Dh9Tak3xOktPGNunmi9VQNJlbOZ0ueauKcCu0Py6gJsevx36mYXACaYJzQIqhKj6mLtOs06ntKW08SASopUgWOzWqowxL/i3VpKuH/MN2CrB2AnmSNLsooQ2U3erFETwsRjpeFY/cfF0dKp1ooHEK5QFS9XmxhnLMLdhtlkVZGRvcdcpU7knP8W+qXELRuCgdB6dX0Oknu1hFxVcI8zRNVYnf2/4Ukuqn1BfVWDXcqx41iKSycV0X4POQwcVhuVDXaKhyCC1JkMCTIyZpd4YR5gjxo959GsVDpIItZeEl9MJ8N4ZLOu87jPVub+1MtIhN6QW+Z9MIJ8xlZi13pRnORbp7ND+uuELD87itlsMchwjyx2I1SwbxTtUEeaFBuriVhmMebH/Nak6AsU6Nn+j66y6lEmaE2d9bS0dt52K//v4LvQwcZItxgVZOu5/OG3sdcL/2ih3ZjwkswFmHlt2GXBIGjRzSBariVm4Sr0eHnnryOlnoFJMtxDxAx5E0+lJBNpgN/+TJMIY4BWKwStIDSlNMgYSq+54gG1pR2JSJmhgJzGZmqbagowLelB7WooOEtvkjRR/rfqZ X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(107886003)(70586007)(70206006)(36756003)(1076003)(82310400005)(8676002)(4326008)(36860700001)(81166007)(26005)(5660300002)(86362001)(2616005)(316002)(6916009)(54906003)(186003)(6666004)(7696005)(8936002)(2906002)(508600001)(426003)(47076005)(44832011)(336012)(40460700003)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2022 10:27:55.3051 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 23ab7550-b88e-4287-dfe8-08da326fbf01 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8064 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_032759_344790_784C9238 X-CRM114-Status: GOOD ( 11.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is currently no dependency for vdso*-wrap.S on vdso*.so, which means that you can get a build that uses a stale vdso*-wrap.o. In commit a5b8ca97fbf8, the file that includes the vdso.so was moved and renamed from arch/arm64/kernel/vdso/vdso.S to arch/arm64/kernel/vdso-wrap.S, when this happened the Makefile was not updated to force the dependcy on vdso.so. Fixes: a5b8ca97fbf8 ("arm64: do not descend to vdso directories twice") Signed-off-by: Joey Gouly Cc: Masahiro Yamada Cc: Vincenzo Frascino Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/kernel/Makefile | 4 ++++ arch/arm64/kernel/vdso/Makefile | 3 --- arch/arm64/kernel/vdso32/Makefile | 3 --- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index 986837d7ec82..fa7981d0d917 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile @@ -75,6 +75,10 @@ obj-$(CONFIG_ARM64_MTE) += mte.o obj-y += vdso-wrap.o obj-$(CONFIG_COMPAT_VDSO) += vdso32-wrap.o +# Force dependency (vdso*-wrap.S includes vdso.so through incbin) +$(obj)/vdso-wrap.o: $(obj)/vdso/vdso.so +$(obj)/vdso32-wrap.o: $(obj)/vdso32/vdso.so + obj-y += probes/ head-y := head.o extra-y += $(head-y) vmlinux.lds diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile index d9147fba1a0b..f6e25d7c346a 100644 --- a/arch/arm64/kernel/vdso/Makefile +++ b/arch/arm64/kernel/vdso/Makefile @@ -53,9 +53,6 @@ GCOV_PROFILE := n targets += vdso.lds CPPFLAGS_vdso.lds += -P -C -U$(ARCH) -# Force dependency (incbin is bad) -$(obj)/vdso.o : $(obj)/vdso.so - # Link rule for the .so file, .lds has to be first $(obj)/vdso.so.dbg: $(obj)/vdso.lds $(obj-vdso) FORCE $(call if_changed,vdsold_and_vdso_check) diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile index ed181bedbffc..05ba1aae1b6f 100644 --- a/arch/arm64/kernel/vdso32/Makefile +++ b/arch/arm64/kernel/vdso32/Makefile @@ -131,9 +131,6 @@ obj-vdso := $(c-obj-vdso) $(c-obj-vdso-gettimeofday) $(asm-obj-vdso) targets += vdso.lds CPPFLAGS_vdso.lds += -P -C -U$(ARCH) -# Force dependency (vdso.s includes vdso.so through incbin) -$(obj)/vdso.o: $(obj)/vdso.so - include/generated/vdso32-offsets.h: $(obj)/vdso.so.dbg FORCE $(call if_changed,vdsosym)