Received: by 10.213.65.68 with SMTP id h4csp1057971imn; Wed, 28 Mar 2018 19:29:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+nLa6WRDiw8uOoj4njbquhkh5UoOFQrbTGbS8sPytuBxLw/dqZ40AKhLLby2Cany1kucLQ X-Received: by 2002:a17:902:8c8c:: with SMTP id t12-v6mr6283792plo.100.1522290587666; Wed, 28 Mar 2018 19:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522290587; cv=none; d=google.com; s=arc-20160816; b=e7Q/YEb2XaxRrsZU5fXQJQDtHHj/EsfHKuKsTxHP+cenqW6GYtA8IZy35WMymzE8xb tY9AvEQxP17daOwJ6bK9d9adZ9a0ZB959BZPW9RigNftMnewRAewrFx1+p+sOs4E5rvZ kmcWPefUSjs+WhOKafqUvHpBr7N9dYokeDE6g8YgUu9ZcQmv+5is64vlqBkpSgFoSYMt 6e3Gl3Zp4QVjEKPI0HqAJVykDogQlPLYFyFrtiUbuw6oOsIM8V/GAWzGHmVFJh91N+1h +JYSpgEFeuvBJxha4O/7oxOvf/qSNZRhltEDqoy8XIqggwizlIUhGW9zDEDKiwJgcePf 7oCg== 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=iUCnFD3JS6VxEYeHTMjI62czNDI4gA5mgzqpsIqmaNU=; b=sRoTRO8pAUiFvGvH6faeiJRoYe252C+ySd1KKtwd2Fj8qIq3mLpQueqIWsb0VEv2YD e2uMwpBX/8ld2gozlRa4ifkO8ZziRuic94iPpJXwF4UTof/mRLOL4D/YvZyXoqGhvRTR bP7H80Y/I8nZhHhA4Xi9oQn1K7ZMIM9HdodJuP+pB2ABbBbufCp/9A02gZFY9PCgZ8Ge iMB0wewLNIsCe8Fn00gw9Jn0nj7I+F5sQ141eFCF9wEbLqr/yUvWf3KFFuc8eKQMc+Nm CckXcS3PdXSKnEYZTz7DeHATqbAI8yP6Hak1Bw/7FnZFXlUvE1c9QoJo83YuhWCm+LLC 0S5g== 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 j2-v6si5446796pli.501.2018.03.28.19.29.33; Wed, 28 Mar 2018 19:29:47 -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 S1752189AbeC2C1k (ORCPT + 99 others); Wed, 28 Mar 2018 22:27:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:42406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbeC2C1h (ORCPT ); Wed, 28 Mar 2018 22:27:37 -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 954B521838; Thu, 29 Mar 2018 02:27:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 954B521838 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 06/10] parisc: Switch to generic local_softirq_pending() implementation Date: Thu, 29 Mar 2018 04:27:01 +0200 Message-Id: <1522290425-22844-7-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/parisc/include/asm/hardirq.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/parisc/include/asm/hardirq.h b/arch/parisc/include/asm/hardirq.h index 0778151..1a1235a 100644 --- a/arch/parisc/include/asm/hardirq.h +++ b/arch/parisc/include/asm/hardirq.h @@ -34,14 +34,6 @@ DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) #define inc_irq_stat(member) this_cpu_inc(irq_stat.member) #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)) - #define ack_bad_irq(irq) WARN(1, "unexpected IRQ trap at vector %02x\n", irq) #endif /* _PARISC_HARDIRQ_H */ -- 2.7.4