lkml.org 
[lkml]   [2012]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fix Irq Subsystem menu

Hi;

In menuconfig, General setup -> Irq subsystem contains two
possible menu-items. Sometimes, neither menu-item exists. This
patch prevents the Irq susystem menu from appearing at all unless it
will contain at least one menu-item, preventing a confusing, empty menu.

--- linux-3.7-rc8/kernel/irq/Kconfig.orig 2012-12-05 20:59:00.963707538 -0500
+++ linux-3.7-rc8/kernel/irq/Kconfig 2012-12-05 21:00:18.454788693 -0500
@@ -3,7 +3,6 @@ config HAVE_GENERIC_HARDIRQS
bool

if HAVE_GENERIC_HARDIRQS
-menu "IRQ subsystem"
#
# Interrupt subsystem related configuration options
#
@@ -56,6 +55,13 @@ config GENERIC_IRQ_CHIP
config IRQ_DOMAIN
bool

+# Support forced irq threading
+config IRQ_FORCED_THREADING
+ bool
+
+menu "IRQ subsystem"
+ depends on ( IRQ_DOMAIN && DEBUG_FS ) || MAY_HAVE_SPARSE_IRQ
+
config IRQ_DOMAIN_DEBUG
bool "Expose hardware/virtual IRQ mapping via debugfs"
depends on IRQ_DOMAIN && DEBUG_FS
@@ -66,10 +72,6 @@ config IRQ_DOMAIN_DEBUG

If you don't know what this means you don't need it.

-# Support forced irq threading
-config IRQ_FORCED_THREADING
- bool
-
config SPARSE_IRQ
bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
---help---
Signed-off-by: Paul Thompson <set.mailinglist@gmail.com>



\
 
 \ /
  Last update: 2012-12-11 05:01    [W:0.018 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site