From: Paul Thompson <set.mailinglist@gmail.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix Irq Subsystem menu
Date: Mon, 10 Dec 2012 22:29:10 -0500 [thread overview]
Message-ID: <20121211032910.GA8203@squish.home.loc> (raw)
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>
reply other threads:[~2012-12-11 3:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121211032910.GA8203@squish.home.loc \
--to=set.mailinglist@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®