Received: by 10.213.65.68 with SMTP id h4csp1057700imn; Wed, 28 Mar 2018 19:29:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/cjNDBwMSHVEPX99ggPYVcc30GDemcB6VEm6Gai9yxOHd//7f7dkEzSvqopOCjVxE9quV1 X-Received: by 2002:a17:902:5a5:: with SMTP id f34-v6mr6307054plf.288.1522290559087; Wed, 28 Mar 2018 19:29:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522290559; cv=none; d=google.com; s=arc-20160816; b=cjT2qTRmF9RmRvS2Yij7I4qZML8qdMDxCFgDEIeYWCy6XNM0gNYXQtTQDFAhwJGnLi b9/D2gM+0wrsmbxhKTnTnKPFk1OtioCsKPy+WA8OAGQ0z2EiXUG0Tvud+qXMM4CEC55k cq6/ndT/T1aXb4d9gjdotqUevSf2G2IljsFVaqhvnLaoOcBMfoEzuUYEqdgthnVI2Bhc UdwMZaPMWbhZUWbfuwctgopSmrjf7oADLQZ7iUTjtl2C11gbO4BEQOGdS1GANZx3iCtW zPn0fAGxaxsBxJLf8+WRdZx3SHw65L0IgeuBfqGhrWVSQg386OesthW0c7gB/UD+jyVx /uiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:arc-authentication-results; bh=ozjsaugiNs/JtWTIM9ZZc+sOAbKHMNQkfTbaWFZ+Fvc=; b=uWGjXoQD4BW4sQzYOXKR0AtPglmJUr4x10FgdqtzdmKKOgDQLUjrYWyVGnMTDS8ZMd N8wF5UYD3Ir+J//OZy+aaxwZKl45bNJva03mJBNSpWzlcVW/tZkiG0kW3iDEA9bB3le1 kcjO05ktscgjn+W2LtDMu38y3TBB32lGm/SjtNv/yXbkGTPSQjztNh9WTVvQlUq1iMBI Ra1qpO3otnGs1X5cAUWZnyrZH67UP4/hOqYbkuQvWWfzyN7aglMkmL7k4fO6Vkvzq1GL kuU3eaX3esC0+/YnEcq5Dfk9KMp3VHLavY5O2GjO7C0IPLM5rerwsSK3WbowH5Ip0Njz DYBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 43-v6si4811930plb.548.2018.03.28.19.29.05; Wed, 28 Mar 2018 19:29:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752273AbeC2C1s (ORCPT + 99 others); Wed, 28 Mar 2018 22:27:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:42540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752067AbeC2C1q (ORCPT ); Wed, 28 Mar 2018 22:27:46 -0400 Received: from lerouge.home (LFbn-1-18526-44.w90-101.abo.wanadoo.fr [90.101.68.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9345F2184C; Thu, 29 Mar 2018 02:27:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9345F2184C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=frederic@kernel.org From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Sebastian Andrzej Siewior , Tony Luck , Peter Zijlstra , "David S . Miller" , Michael Ellerman , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Fenghua Yu , "James E . J . Bottomley" Subject: [PATCH 09/10] x86: Switch to generic local_softirq_pending() implementation Date: Thu, 29 Mar 2018 04:27:04 +0200 Message-Id: <1522290425-22844-10-git-send-email-frederic@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522290425-22844-1-git-send-email-frederic@kernel.org> References: <1522290425-22844-1-git-send-email-frederic@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the ad-hoc implementation, the generic code now allows us not to reinvent the wheel. Signed-off-by: Frederic Weisbecker Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Sebastian Andrzej Siewior Cc: David S. Miller Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: James E.J. Bottomley Cc: Helge Deller Cc: Tony Luck Cc: Fenghua Yu --- arch/x86/include/asm/hardirq.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h index 7c341a7..fd73beb 100644 --- a/arch/x86/include/asm/hardirq.h +++ b/arch/x86/include/asm/hardirq.h @@ -49,14 +49,6 @@ DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); #define inc_irq_stat(member) this_cpu_inc(irq_stat.member) -#define local_softirq_pending() this_cpu_read(irq_stat.__softirq_pending) - -#define __ARCH_SET_SOFTIRQ_PENDING - -#define set_softirq_pending(x) \ - this_cpu_write(irq_stat.__softirq_pending, (x)) -#define or_softirq_pending(x) this_cpu_or(irq_stat.__softirq_pending, (x)) - extern void ack_bad_irq(unsigned int irq); extern u64 arch_irq_stat_cpu(unsigned int cpu); -- 2.7.4