Received: by 10.213.65.68 with SMTP id h4csp1057573imn; Wed, 28 Mar 2018 19:29:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/d96dI8HDBFwrPArV2vPBV8+eWNNwtpUJWsNTrozu06tfLKtIBgdscYB7odp2VlJdNmN51 X-Received: by 2002:a17:902:6b08:: with SMTP id o8-v6mr6180373plk.369.1522290547844; Wed, 28 Mar 2018 19:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522290547; cv=none; d=google.com; s=arc-20160816; b=A5o7vsJJs9/Xlgjo6uo1WwRbq2LdfQS1CI2A6q25fcpQQf4KhUa0qvhdGgWuAIlKBf Rt5mxXiSVsNxyqSp02CpH3EvfBbhqA0ZINFxDwZOHSn4jsziG83RnZ9jVeJcgIL0M27s 1p+SL/0tcqa/Sdc6EmhDqG4veJSnqXY7LSlH5T9BOZxe0Vpq99IM0+thjVd8soRE5+lM eXlXX1X+oUX8z840DUG5bx9eZNT242a41+6jOtwIt918ifG31Kl+pOoWNqoitdGKZoD1 5+7BgU2TC5Ca8RsgRR6uHAZH3XPBuNowj/8eDho8mgBh3Sy17P1H6UcEmGzaLi0y/izQ e3wg== 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=2YQXJfDZVUs4Z7MEowod33pCKj2VTG7jWuzkbk/ika0=; b=Fa/qjiLHla+VG5vyGHyacZ4S/YdWhpMtRyL+L667JMkwVqZuQq7oJszQH+t+TM0RE+ 90F1xKyWvNLxLgmg+Ch7qCUVKQLFcv1yGhYUjmjC2zq1Ubra0U1WaNVpLq/jsBVWO2zj noGEDJkUgWk/T6vsOM7Q5XZbn7hPKBmbaezAVThNH6l1kGl2ORNegtoWalH1hnW3mfkD 0omvqKt/hDOrBwuUtOnCYlbO9e8w6VhKkt7vAlDvE29817YLW/pn3gMr4dDKpOpoiwXp KVJV/IKmvUH6v8/sETgaZPb5QJQm7fpt+9zPhN31HlsLnJtXLKcYkQO7Urs+IjwpWab+ zQbA== 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 w6si3274978pgp.91.2018.03.28.19.28.53; Wed, 28 Mar 2018 19:29:07 -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 S1751897AbeC2C1Y (ORCPT + 99 others); Wed, 28 Mar 2018 22:27:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:42132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbeC2C1U (ORCPT ); Wed, 28 Mar 2018 22:27:20 -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 1FF4E217D5; Thu, 29 Mar 2018 02:27:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FF4E217D5 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 01/10] ia64: Convert local_softirq_pending() to per-cpu ops Date: Thu, 29 Mar 2018 04:26:56 +0200 Message-Id: <1522290425-22844-2-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 In order to consolidate and optimize generic softirq mask accesses, we first need to convert architectures to use per-cpu operations when possible. 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/ia64/include/asm/hardirq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/hardirq.h b/arch/ia64/include/asm/hardirq.h index bdc4669..22fae71 100644 --- a/arch/ia64/include/asm/hardirq.h +++ b/arch/ia64/include/asm/hardirq.h @@ -13,7 +13,7 @@ #define __ARCH_IRQ_STAT 1 -#define local_softirq_pending() (local_cpu_data->softirq_pending) +#define local_softirq_pending() (*this_cpu_ptr(&ia64_cpu_info.softirq_pending)) #include #include -- 2.7.4