[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130906205538.GK808@joshc.qualcomm.com>
Date: Fri, 6 Sep 2013 15:55:38 -0500
From: Josh Cartwright <joshc@...eaurora.org>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Rohit Vaswani <rvaswani@...eaurora.org>,
David Brown <davidb@...eaurora.org>,
Rob Herring <rob.herring@...xeda.com>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Stephen Warren <swarren@...dotorg.org>,
Ian Campbell <ian.campbell@...rix.com>,
Russell King <linux@....linux.org.uk>,
Daniel Walker <dwalker@...o99.com>,
Bryan Huntsman <bryanh@...eaurora.org>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH] ARM: msm: Remove irqs-*.h files for DT based targets
On Fri, Sep 06, 2013 at 01:31:57PM -0700, Stephen Boyd wrote:
> We don't want or need the irqs.h files from the DT based MSM
> targets. Remove these header files and select sparse irq so that
> we don't try to include the mach/irqs.h file.
>
> Signed-off-by: Stephen Boyd <sboyd@...eaurora.org>
> ---
>
> On 09/06, Josh Cartwright wrote:
> >
> > Selecting _only_ ARCH_MSM8974 with these changes breaks the build with:
>
> I've been meaning to fix this. Perhaps you can use this patch as a base
> and then push the SPARSE_IRQ selection into the DT config?
Sounds sane to me. AFAICT, we didn't yet have any users of these
defines upstream. Using SPARSE_IRQ puts on the path of multiplatform
support anyway.
FWIW, I tested this by applying this change under Rohit's and squashing
the following with patch 1/2:
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index fe35acf..f4a0aaa 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -50,7 +50,6 @@ config ARCH_MSM8X60
select HAVE_SMP
select MSM_SCM if SMP
select USE_OF
- select SPARSE_IRQ
config ARCH_MSM8960
bool "MSM8960"
@@ -60,7 +59,6 @@ config ARCH_MSM8960
select GPIO_MSM_V2
select MSM_SCM if SMP
select USE_OF
- select SPARSE_IRQ
config ARCH_MSM8974
bool "MSM8974"
@@ -74,6 +72,7 @@ config ARCH_MSM8974
config ARCH_MSM_DT
def_bool y
depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
+ select SPARSE_IRQ
config MSM_HAS_DEBUG_UART_HS
bool
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists