Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp522699imm; Thu, 26 Jul 2018 07:38:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfIUamcdICQwYV9r2/SFdcCT7q3zxj7l3Po7TNn8KQdmA+ohV0vFmdJluxA8+BAEDF/hE/f X-Received: by 2002:a62:858c:: with SMTP id m12-v6mr2389056pfk.173.1532615934461; Thu, 26 Jul 2018 07:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532615934; cv=none; d=google.com; s=arc-20160816; b=juAURAp/1yas1x/VxwEImOubFB/Ez8qgL4b0snYaD0+zLyHUHaoE4/3WxBo0yqWvPI ZcdyRWhnMNRaOnfBdI7Ri4MXfYEgzwXQD9YeoBhlBUErIvMAyYmbqIq1yClIZMMMPn3S DRodygkZeCiaMqJ68Dmh3ujGJs+UIpNHnN1Zlobi5u6tDwTKS87WTpf9ba1M8vZ6+fhd MO5HAfHWAk6MJyGycvUMXaYfWylFMlmVZQhNSnu2A8FfL7cUU+HtzgRUytVu7olDgY9d /RLz8fHicU9C91mYeps5KCoDRdUFJQM/ygTLlEYANAP9pR+8geoIJ39sJc7ULA/S4zFM +CvA== 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:dkim-signature:arc-authentication-results; bh=iCUp1RxSOoZ/ZQKAtIpDDmRmceSbdKx72yYLlD3vono=; b=p+hlq/oBGrMFAbk4+BFBulEwdSQW37WLI+7eVS40oMdLoZGSzXc7/LGB+Vdj6oS9yE JJCYg1vxkBqQuekMTAYdluAg+VI197Wefq57+/6KTGJdL6I3HG017oHKaLEj2ykKMcF4 mQzGaRPjK95xz42bZ6iIkSspiIhUWspKVqaYHPmMw+GpTIMJOHOj7nki7o0eE1GhPzNL fkqW7LtyFB0iPdmsFKIWOQxo4RLRObK32RlfXuQq1T2BpWQ6GQdUosBzYgBEUJJ6drJX LGqoIeMjSJTZMj+Z2WoWyQW8QHLAhOMVj+uKLsSP84uKF94KSmNVAFqWgUgE4ivLFPRM hxdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=vBnkly20; 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 38-v6si1373208pln.92.2018.07.26.07.38.39; Thu, 26 Jul 2018 07:38:54 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=vBnkly20; 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 S1731480AbeGZPyv (ORCPT + 99 others); Thu, 26 Jul 2018 11:54:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57510 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729506AbeGZPyu (ORCPT ); Thu, 26 Jul 2018 11:54:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iCUp1RxSOoZ/ZQKAtIpDDmRmceSbdKx72yYLlD3vono=; b=vBnkly202TyuvjxP4eKIh/2LQ GGJPvRogvC0aAn3biwBGGQ6LsklAgy2qgMsG/I6Jz4X/PGox53CWWUzHpcl+ay5gMdvR73yr2Mg22 kKTlqohW1ZjWP6nQ/yYNWZf3ktKUDB5XdXkKAzsx/R0Ces80stcjp1z5jf7RWhYMrN0+LFVrxEkb9 iNhyf8ZUjgqMcA1jni3PkDhC/5fKFSuHtMrYt6fV3QFYm4uGb8cz2P6cxBKuuBLHnY505LL7swFbL RcyknETztjGnDeDRijDT/kO57+uxgsKCX+gTHYw98KH0rbonJWKkBpus3vsVlW701HoKQgJ29UFyr EFw5rewxA==; Received: from 213-225-8-157.nat.highway.a1.net ([213.225.8.157] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fihOb-0005ir-Rw; Thu, 26 Jul 2018 14:37:38 +0000 From: Christoph Hellwig To: tglx@linutronix.de, palmer@sifive.com, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: anup@brainfault.org, atish.patra@wdc.com, devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com Subject: [PATCH 3/9] RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h Date: Thu, 26 Jul 2018 16:37:17 +0200 Message-Id: <20180726143723.16585-4-hch@lst.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180726143723.16585-1-hch@lst.de> References: <20180726143723.16585-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 c871661c9df4..996b6fbe17a6 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); void riscv_software_interrupt(void); -- 2.18.0