public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* IRQ subsystem menu
@ 2012-10-21  7:40 Paul Thompson
  2012-10-29 14:03 ` Michal Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Thompson @ 2012-10-21  7:40 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]

	Hi;

	In menuconfig, General setup -> IRQ subsystem, there are two
possible menu-items. One depends partly on IRQ_DOMAIN, and the other
on MAY_HAVE_SPARSE_IRQ.

	On the x86-64 arch, neither of these seems to be set, so the
menu entry is blank if entered (displaying an odd ^@ if you try to
navigate up or down. And sometimes some screen garbage on the sides.)

	Previously (in the 3.2 kernel at least) this menu used to be
populated by the "Support sparse IRQ numbering" menu-item, which
at that time depended on HAVE_SPARSE_IRQ, and was forced to YES.

	I do not know if the current behaviour is intended, but it
is ugly and confusing to be confronted with a blank menu page.

	Ideally, the "IRQ subsystem" menu would not even show up
if it would contain no menu-items, but I do not know enough to
formulate that constraint.

	A simple alternative is a comment section to reasure babes in
the wood of kernel configuration that something is not amiss. I include
a sample patch.

Paul
set.mailinglist@gmail.com

[-- Attachment #2: irq-kconfig.patch --]
[-- Type: text/plain, Size: 375 bytes --]

--- linux-3.7-rc2/kernel/irq/Kconfig.orig	2012-10-20 15:11:32.000000000 -0400
+++ linux-3.7-rc2/kernel/irq/Kconfig	2012-10-21 03:14:56.272952813 -0400
@@ -4,6 +4,9 @@ config HAVE_GENERIC_HARDIRQS
 
 if HAVE_GENERIC_HARDIRQS
 menu "IRQ subsystem"
+
+comment "Some configurations may have no available options here"
+
 #
 # Interrupt subsystem related configuration options
 #

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-10 23:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-21  7:40 IRQ subsystem menu Paul Thompson
2012-10-29 14:03 ` Michal Marek
2012-11-29 20:32   ` Grant Likely
2012-12-06  2:16     ` Paul Thompson
2012-12-10 23:18       ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox