Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4468083pxj; Wed, 12 May 2021 06:22:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3p9cpsIgerfMEJP5nZDvzsydWbqgKzBzCsvvVRVk/iedn1pbBVnshDkdilEy7Qu4rnKHI X-Received: by 2002:a05:6402:84b:: with SMTP id b11mr43434118edz.289.1620825748913; Wed, 12 May 2021 06:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620825748; cv=none; d=google.com; s=arc-20160816; b=pZJ5F42s5CliSXtE/b4zlibcGITIlvF9+DPkWwC+ertf6S7KxeSp6/i4w19XwQUP3c ctwaQu0YmOA4JAUslp9TmgV0advf6FjkH4ueznyazu2votBiiQG5H3CdRk/zP9/bd91f HnCNjJXgiQ9KLCxBxhP6mTUXu6iBc9+rNje8Yyibtr9zjwjq7fVmJ/KQ9bE5+I7rg6Mq T3gP64FVmjQp6DAEMn4RKhUQgWtAJxQ2RYmEDXSPj9+bs5PyXgjVqSNn6bX+Iw6apknI ItAhjmJBVhsVPG9Nh9zBJyIyhDwsJeL+/MexJZXAhaRwPkHuiWQv/z17CUBsm8i1oZ0y MzEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=jjbvvSr8CaoahGauRnWrOwNEQwrbCO1xrzJ9zShrrYo=; b=fqZ3i+r4ePLls5u3cWCNOqtB4VyuBYHvsxCN9hBSgbnJ+CYP109gBNseLAgEG0U9CR kic0suxu0Nn0z2K+9qlH0/gtLOxtxqF0ZMjrXbAjDMotFz8+Td3JjQwtsxTspIxGd/NN wl9GNU0yONgK+rrKu24pwHS4L4COiavwf4vifHYN1K9F3F5cFd7bOb0TYIFV7ZOvvIMk zGFHIORsig1TaRQyi4FFXBGujoIZ7CfuVO0wWM3yZL0WeH/Oefhfj3ubG/XhgCD9Eq7U b4lgq2J2nwlMvQDu5yZ+BSUzlfgtVkYi/Eo9a9jBtjhcmSA8en/NpUeLHomZxAMjndMi Mhag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="h//mLFWv"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si2019496edr.563.2021.05.12.06.22.05; Wed, 12 May 2021 06:22:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="h//mLFWv"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231551AbhELNVb (ORCPT + 99 others); Wed, 12 May 2021 09:21:31 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51720 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbhELNVB (ORCPT ); Wed, 12 May 2021 09:21:01 -0400 Date: Wed, 12 May 2021 13:19:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620825592; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jjbvvSr8CaoahGauRnWrOwNEQwrbCO1xrzJ9zShrrYo=; b=h//mLFWv5DJfCrrlfU4LiI3VeeA67Xxg9X1okZmjcYWcem9QRLhJZf7KFzZkeNNLQbH0/l utOQ5SQwAy6IEY7T0nuaRpuNCVUWKt/yNvvlNMKDnpY8jm73NndHTwZ2mAsNX4REjIDUXc p12aSQK+7ubbCyQ6I+TTljdEpeqoUOGZMwZGA5LdhrjpyoQPwPXiWl2r74xYEbk/VQ/0FP qrK8+tMlWj4MDTpKdbb/UwxcbnH2Nj1Q7Sdbzmi1vhS5R5+QU/eGZR7ZxgdTLbjr0uqhA8 A2yi4K5iFYut5ohHQrfQNzXPcn6oJlB4LbJ9ldoVIpNT9kKg56by7ApBxEF+DQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620825592; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jjbvvSr8CaoahGauRnWrOwNEQwrbCO1xrzJ9zShrrYo=; b=ny4E3AMa9J72rkNyFv39fIEr6lvVdfTzn4giwbD9iofugDER8OeSAgRDPLfryP68JynnLO P1ardhNOngk0x0DQ== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] jump_label, x86: Strip ASM jump_label support Cc: "Peter Zijlstra (Intel)" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210506194157.599716762@infradead.org> References: <20210506194157.599716762@infradead.org> MIME-Version: 1.0 Message-ID: <162082559216.29796.14178984509279859389.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the objtool/core branch of tip: Commit-ID: 8bfafcdccb52e770695b12530b1f800fe98b16b1 Gitweb: https://git.kernel.org/tip/8bfafcdccb52e770695b12530b1f800fe98b16b1 Author: Peter Zijlstra AuthorDate: Thu, 06 May 2021 21:33:55 +02:00 Committer: Ingo Molnar CommitterDate: Wed, 12 May 2021 14:54:55 +02:00 jump_label, x86: Strip ASM jump_label support In prepration for variable size jump_label support; remove all ASM bits, which are currently unused. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20210506194157.599716762@infradead.org --- arch/x86/include/asm/jump_label.h | 36 +------------------------------ 1 file changed, 36 deletions(-) diff --git a/arch/x86/include/asm/jump_label.h b/arch/x86/include/asm/jump_label.h index 610a053..01de21e 100644 --- a/arch/x86/include/asm/jump_label.h +++ b/arch/x86/include/asm/jump_label.h @@ -47,42 +47,6 @@ l_yes: return true; } -#else /* __ASSEMBLY__ */ - -.macro STATIC_JUMP_IF_TRUE target, key, def -.Lstatic_jump_\@: - .if \def - /* Equivalent to "jmp.d32 \target" */ - .byte 0xe9 - .long \target - .Lstatic_jump_after_\@ -.Lstatic_jump_after_\@: - .else - .byte BYTES_NOP5 - .endif - .pushsection __jump_table, "aw" - _ASM_ALIGN - .long .Lstatic_jump_\@ - ., \target - . - _ASM_PTR \key - . - .popsection -.endm - -.macro STATIC_JUMP_IF_FALSE target, key, def -.Lstatic_jump_\@: - .if \def - .byte BYTES_NOP5 - .else - /* Equivalent to "jmp.d32 \target" */ - .byte 0xe9 - .long \target - .Lstatic_jump_after_\@ -.Lstatic_jump_after_\@: - .endif - .pushsection __jump_table, "aw" - _ASM_ALIGN - .long .Lstatic_jump_\@ - ., \target - . - _ASM_PTR \key + 1 - . - .popsection -.endm - #endif /* __ASSEMBLY__ */ #endif