Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1262233imm; Wed, 25 Jul 2018 14:45:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNRk88gnmP64qYabGKSvfcvOAaxOT81Px9tYKm8nNAd9BnVm2snkxzFdpOiqcQnsxv4T+C X-Received: by 2002:a63:1e66:: with SMTP id p38-v6mr21925515pgm.376.1532555145238; Wed, 25 Jul 2018 14:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532555145; cv=none; d=google.com; s=arc-20160816; b=NyEhug2KllKgcgeTJr76HaOaSOloBEKknD1UZQny30QxC1iQP0lc/+s2KcrYFwDi6o z0eRJMOrJD4E1p76dNXoWPlcpsFW7XQbxR06ExqbXk3oomRXIj1TmpAcCKCIqborN+WP xHxDxPU1iiZntAYKJ7AsIcSIVlMYBJuqMdR+WfBPmvn0IKAk/FIGkq9Tu33RFNOk+hrX miaY2tE0nPTTFB2636KzQzkILFptXCKptynUGC8jrd5BtRaLcs078+2dXUgkvs2OHk7j A6q8XtDWqhcwjR30L12TpEQfXMRGCxafBiimHPZtR/SXhfPvq9ydF5wm5ncDHF6S4KwV 0+qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=teMttmPRaEUtKqWDccATRsQ0OGV7SBbG8NxnMweL0dE=; b=PQi7V0z/+O/EUIYtMZfus9OEFgnfrNTuALwG8v15YJlPesMyp3kZzRPI9keIxB2mzp hrOJQ85BNQV7BiWTjne/El43Rpkopc5riLm1F7pnmtOnSIGdt/sEXcxQ9Zq/gXfvw6P+ bfS8Yt1s+XVCuFUMe9PMe/MNk6eD+0+FMuqZ46LOfpNAdq47ym7yv5PSMOTrrC/VwkD3 sHquA01fMwVC14ScaBruu/KwRtV1xhb7c/2xQjfZ7wyy5NBb0nFIWKUwxFMTnLaDxhPb JMAxwZTODJKMU+atG0wJdf2JourSRKXYYLlVdoNbbjWWvCRWrCEo9E0d0FhxUVQuHmas 2VMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=RqIPTK7V; 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 1-v6si13920008plr.148.2018.07.25.14.45.28; Wed, 25 Jul 2018 14:45:45 -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; dkim=pass header.i=@sifive.com header.s=google header.b=RqIPTK7V; 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 S1731431AbeGYW6M (ORCPT + 99 others); Wed, 25 Jul 2018 18:58:12 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:38835 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731243AbeGYW6M (ORCPT ); Wed, 25 Jul 2018 18:58:12 -0400 Received: by mail-pl0-f67.google.com with SMTP id b1-v6so3833275pls.5 for ; Wed, 25 Jul 2018 14:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=teMttmPRaEUtKqWDccATRsQ0OGV7SBbG8NxnMweL0dE=; b=RqIPTK7VlwjB70VqY7/rnbyAxU0BgTOBWkOSpyQpYC9+BBkpPYp/TO83rQVYjf5RvV zQh+BjKdDUpnPVd8gPfo9ezxucVPqaV997iMyft5WwIB1LMg2FAP67lyD6T5aDETJIMo +RxZu/3Ka7n3XwnBmLquI6DwuoBftaSvs9dj/W+4HtRw7omhLJX2h5m4dR0xyaMg+bZQ MZV1aHULcqx7rX6c038YOoycMemP7jtQyTcsoSFPUImdW1aTw27wnGiGP39oMLSnGAWq 7aE7kayycMsg+xwchxDvMrEy9SzJ34VvuRSa3GjLrgRruSkiKPZWsZdx6suHWU2hVEQo ZQDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=teMttmPRaEUtKqWDccATRsQ0OGV7SBbG8NxnMweL0dE=; b=H+yKT6A9qhGndvPlun7rvZ0YRtBfKBCp3UXw2P+8CACdDocF5XRTGoKoT+X//v2+7e dOx9hveRERO8c7uZLzzMCRgaesAJ2a91OietV3/s+ftVq5B5Qj1Aw3FBvT1ErTmjrdeU pErPRBGQ0f+PHJbHb9XYmFoQPgKyvwOKaqTPc9pd1fT89JaTMlRAm3pUIt/NoFjxlm5w WA+NIyl/KmF/w+tLKrPE8sR6SL0+mpk5utqFtuJr3VErIr+V52qJbXAFyjzFaiS/wuWR lCDrliVu5SNw0VLQDA6cJ505TDSidtBnXFk0/6o+3YEV5W/WpTk4pijjoTujLPkfwWOc ZmWg== X-Gm-Message-State: AOUpUlGFQbJpCnrQ6EFR3mGJM2uN/w3wApSY2DZ79/snwLVIsP6z2/hY gldy95KTGdo9AGGQWDJt67GWdw== X-Received: by 2002:a17:902:aa87:: with SMTP id d7-v6mr22518090plr.215.1532555076010; Wed, 25 Jul 2018 14:44:36 -0700 (PDT) Received: from localhost (96-90-200-139-static.hfc.comcastbusiness.net. [96.90.200.139]) by smtp.gmail.com with ESMTPSA id c12-v6sm35646437pfl.20.2018.07.25.14.44.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 14:44:35 -0700 (PDT) Date: Wed, 25 Jul 2018 14:44:35 -0700 (PDT) X-Google-Original-Date: Wed, 25 Jul 2018 14:42:51 PDT (-0700) Subject: Re: [PATCH 2/6] RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h In-Reply-To: <20180725093649.32332-3-hch@lst.de> CC: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com From: Palmer Dabbelt To: Christoph Hellwig Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Jul 2018 02:36:45 PDT (-0700), Christoph Hellwig wrote: > These are only of use to the local irq controller driver, so add them in > that driver implementation instead, which will be submitted soon. > > Signed-off-by: Christoph Hellwig > --- > arch/riscv/include/asm/irq.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h > index 4dee9d4c13c0..93eb75eac4ff 100644 > --- a/arch/riscv/include/asm/irq.h > +++ b/arch/riscv/include/asm/irq.h > @@ -17,10 +17,6 @@ > > #define NR_IRQS 0 > > -#define INTERRUPT_CAUSE_SOFTWARE 1 > -#define INTERRUPT_CAUSE_TIMER 5 > -#define INTERRUPT_CAUSE_EXTERNAL 9 > - > void riscv_timer_interrupt(void); > > #include Acked-by: Palmer Dabbelt