Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp391373pxj; Thu, 13 May 2021 07:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI/QjagU2nILd4xSkU66QWvGo1y68TiEpiLiaIDG8S6vWImuJSdc7AvupDbXf/5C38JKnZ X-Received: by 2002:a05:6402:652:: with SMTP id u18mr50688716edx.388.1620915629258; Thu, 13 May 2021 07:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620915629; cv=none; d=google.com; s=arc-20160816; b=xp+2w6xkZS9+gMB14LVgma4cOwpJZDLr0mjht/HsNeHAeoRc/CGz6JmzSeskW4Jk0S CGcFzYDvUOPPwWh41L0D0eA+6KqmH1asUMbHjAimal90zLTGbz0fIwXZQzJZfVdGcfPh PaaYj00ilNVT/A9nSIfjDmuuKl/5c+Bxhm+i4T8DoLfUPuDUY1O4MN2ZLSbh7/8KK4IT wLqb3eRT91jJx688miIpoVxuPS/Ar+AmhHcKWlA9WNH7JiNvSbW2F09fjRr0PaaTYO42 7sCumR0WqoVaFDIwra2pQKQpmhwXrgUr5TTcecZDs+LHhaXFQsaaOb3lI36n5mb2DLv3 zNhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rZD5Uo1Pin2ssu2K+K34nWRWWOWQMiv60MRiNrm081E=; b=aeq/BEmT1aHW09M6V697VQM3DtPGUr00q+aOk45+Hr20pVurWQdNhqrOMKhQe0wE3E PYvSouVH2XiSqwmaQwn84wJHSGVXeTgq0UulU7uFKa8C/lCrK+EmxkanSgnJbyVTx5iu NcQCwJ5gwbbQs4up//iaFqvCJzKAzGagvKaLdLP6xSl9G57Tw7Hbu1rR2513u+YjapRR SDK4Y6PsQYyldyJ33zgzEjOT1ySatbTtlGvcsFwQXM1BfXCS2oqv0inHzxtamghWoyDQ 5ImTQ/ifO5XpCEMwvudUyXlp9esHW+cnllja/6HLG72NRRhpe0TimftVjm5WGWoAswrk tEVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=LjnPTAjx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si3296106edc.485.2021.05.13.07.19.57; Thu, 13 May 2021 07:20:29 -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=@infradead.org header.s=casper.20170209 header.b=LjnPTAjx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234404AbhEMOTr (ORCPT + 99 others); Thu, 13 May 2021 10:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234400AbhEMOTe (ORCPT ); Thu, 13 May 2021 10:19:34 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1685C061574 for ; Thu, 13 May 2021 07:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rZD5Uo1Pin2ssu2K+K34nWRWWOWQMiv60MRiNrm081E=; b=LjnPTAjxtpIT5flS8mawI77rDE 2w85BC8rdEYrAd2zEwaC2qc8mHz2gBfYstKK1U5wboN+bIuKfkmDfBFZAvkcudIymslt1l8Q76wPL rEfsQyu2QzNhNCA+xeC95dSZIsVeVBqx43Jpn8431ld5CJrKGMRVUIIw6T/GebSp12sYgEQjlH8dQ H0ZxMnZF9B6t0628Dv9fwn0kCd+Vo3JoDUEZV/mig7BRC0QnUsi5yI9aT1o5IK7fHpheIjkAPfeJw qhdWsi7qGYoLtqHscQIkfiew58cangGzn/dMfAxVii4WiXXajuoGFiQeVhbQfGUXnhUmmh3Bki8Dy C3VTz2ew==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lhC8t-009V4y-KT; Thu, 13 May 2021 14:16:59 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 479083001E1; Thu, 13 May 2021 16:16:47 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 385592D99D99B; Thu, 13 May 2021 16:16:47 +0200 (CEST) Date: Thu, 13 May 2021 16:16:47 +0200 From: Peter Zijlstra To: x86@kernel.org, jpoimboe@redhat.com, jbaron@akamai.com, rostedt@goodmis.org, ardb@kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 07.5/13] jump_label,x86: Remove unused JUMP_LABEL_NOP_SIZE Message-ID: References: <20210506193352.719596001@infradead.org> <20210506194157.846870383@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210506194157.846870383@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Subject: jump_label,x86: Remove unused JUMP_LABEL_NOP_SIZE From: Peter Zijlstra Date: Thu May 13 13:53:16 CEST 2021 JUMP_LABEL_NOP_SIZE is now unused, remove it. Fixes: 001951bea748 ("jump_label, x86: Add variable length patching support") Reported-by: Miroslav Benes Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/jump_label.c | 2 -- 1 file changed, 2 deletions(-) --- a/arch/x86/kernel/jump_label.c +++ b/arch/x86/kernel/jump_label.c @@ -17,8 +17,6 @@ #include #include -#define JUMP_LABEL_NOP_SIZE JMP32_INSN_SIZE - int arch_jump_entry_size(struct jump_entry *entry) { struct insn insn = {};