Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp589149imm; Wed, 25 Jul 2018 02:38:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdu6pAl0kIGCM4YIycOqJt1ttu7syHHCnYGEAU1feal4/txpUgTYWTHPfWmNr91k62X0xcO X-Received: by 2002:a63:4b5a:: with SMTP id k26-v6mr19233750pgl.384.1532511532866; Wed, 25 Jul 2018 02:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532511532; cv=none; d=google.com; s=arc-20160816; b=MHgPWNZQBnWTXbHDkH26u/VEoyUVS9LdtDwCqWXa6m0rNs+sCzd6STNto3Xy9BbCls z/WcPxTy6GuAhTlXA8V6PoCm5y7IzdQl189Prda/D2jeMcKqOdDJTaUjqWZOOTBDKBj8 nOmek0Eis9KQkwjAd2u5S4UYpnCG0ubT7iwezlc8mEO2Oc61YjNgsylIzl6vQSkeyj7N OHPYaI1mDNwCZUAWklhby6V4WJ/QIpCVcWpL5FG3bOfDONKaUzJFLHyUprJXjFG3/vg+ /Th/Z3D/93hN/1NnYQCnz9UEceqQ2uc53Hf6n3WbNXHSyocbwEpC/NdBSZ5wGF2/ZZ5Q TuAw== 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=ZBUcb8OiPuzvSWRfiRcVNJ11Hja0IpnA9ik2umvRM/Y=; b=NxvaujNZgNpOEBh4cTIjZwGl1FdK8whul021bI4TRPt8NIsPQUX6FfJ0rJiJtQ2NtL nC6l2tqtjHkDQVTRkCVFLSVFJmtH2QTbD+q0d4sBpEIV1lkfOBBVrdRGtIFcDZKnwWdR Dv4m3aP6yRyC9v/6nbz79h4I18Itz172JHES2hYsXoFOPElK67PWh8y4MeJk3orEYO/0 6xL7P9oXoLPnaOWaVR/RI8I8KoLbWezY7vJNHvMCNB0oya1M6/Wr61tY5eP1CLz5bKtt YRYiSmo3XNFbeRS88yDnaecpEFSN41KIwoZNde6872aIKQtJhPqNUkD5AzVh+mG8Ljr+ Wenw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PDLyXUOI; 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 w65-v6si13085693pgw.147.2018.07.25.02.38.38; Wed, 25 Jul 2018 02:38:52 -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=PDLyXUOI; 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 S1728824AbeGYKr5 (ORCPT + 99 others); Wed, 25 Jul 2018 06:47:57 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42678 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728600AbeGYKr4 (ORCPT ); Wed, 25 Jul 2018 06:47:56 -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=ZBUcb8OiPuzvSWRfiRcVNJ11Hja0IpnA9ik2umvRM/Y=; b=PDLyXUOInxNYYjQqlYk80N9DC 9b+OQBpZOYQzor3gEbD0KKJsZxlxYQydBX4K/chanLifCEsK3TWNwpIG0j1UCXkshtkawP+puq1Wm Qx3Pb3EZRDyqIziUlrbtnSpTsUj7pLsbOKE6rvGoqV+F/TJS6UfoPTLzxGu9x1teDsT4lrQHoljbV /qPqbu32Mw/S5WciIERo//edGhewGHM5/tEWllTZVXQkezSgHyK/NGM1UzcBLxZ1lMM5Uw9/qxtjO ZFVkYj59s99oXOo6itoTmaxil5amSK+RFIruRWaEakd1veKqmVua9raYso9lzmZH9B+ku6Dju31fv ELcsKKhYw==; Received: from [91.112.108.175] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiGE7-0005Ew-MJ; Wed, 25 Jul 2018 09:37:00 +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: devicetree@vger.kernel.org, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, shorne@gmail.com Subject: [PATCH 2/6] RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h Date: Wed, 25 Jul 2018 11:36:45 +0200 Message-Id: <20180725093649.32332-3-hch@lst.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180725093649.32332-1-hch@lst.de> References: <20180725093649.32332-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 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 -- 2.18.0