Skip to content

Commit

Permalink
genirq: Make generic irq chip depend on CONFIG_GENERIC_IRQ_CHIP
Browse files Browse the repository at this point in the history
Only compile it in when there are users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
  • Loading branch information
KAGA-KOKO committed May 2, 2011
1 parent cfefd21 commit c42321c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions kernel/irq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ config IRQ_PREFLOW_FASTEOI
config IRQ_EDGE_EOI_HANDLER
bool

# Generic configurable interrupt chip implementation
config GENERIC_IRQ_CHIP
bool

# Support forced irq threading
config IRQ_FORCED_THREADING
bool
Expand Down
2 changes: 1 addition & 1 deletion kernel/irq/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o
obj-y += generic-chip.o
obj-$(CONFIG_GENERIC_IRQ_CHIP) += generic-chip.o
obj-$(CONFIG_GENERIC_IRQ_PROBE) += autoprobe.o
obj-$(CONFIG_PROC_FS) += proc.o
obj-$(CONFIG_GENERIC_PENDING_IRQ) += migration.o
Expand Down

0 comments on commit c42321c

Please sign in to comment.