Thread (28 messages) flat view 28 messages, 7 authors, 2012-02-16
STALE5285d

[PATCH v2 11/13] ARM: only include mach/irqs.h for !SPARSE_IRQ

From: nico@fluxnic.net (Nicolas Pitre)
Date: 2012-01-20 22:48:31
Also in: linux-sh

On Fri, 20 Jan 2012, Rob Herring wrote:
On 01/20/2012 03:11 PM, Nicolas Pitre wrote:
quoted
On Fri, 20 Jan 2012, Rob Herring wrote:
quoted
From: Rob Herring <redacted>

Make mach/irqs.h optional for SPARSE_IRQ. With this change irqs.h can be
removed by converting platforms over to sparse irq.

This intentionally breaks platforms that enable SPARSE_IRQ.
I don't get what you mean here.  The above seems contradictory.
You're right. The intro explains things more clearly.
The intro won't be part of the git history, so please make sure 
individual commit logs are sensible on their own.
This breaks platforms (at boot time) that don't select SPARSE_IRQ, but 
let users enable it in their config. I don't understand why sparse irq 
is a user visible config option. We could move HAVE_SPARSE_IRQ down to 
each platform that selects SPARSE_IRQ and prevent enabling, but I 
think allowing it to break is good encouragement for others to fix 
those platforms. I'm open to other ideas.
SPARSE_IRQ shouldn't be a user configurable option.  There is just no 
point for a user configuring a kernel to be able to change this.


Nicolas



Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help