From patchwork Sun Oct 21 07:40:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Thompson X-Patchwork-Id: 1622311 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3754A400E9 for ; Sun, 21 Oct 2012 07:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667Ab2JUHkS (ORCPT ); Sun, 21 Oct 2012 03:40:18 -0400 Received: from smtp.wow.synacor.com ([64.8.70.55]:43769 "EHLO smtp.mail.wowway.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751766Ab2JUHkS (ORCPT ); Sun, 21 Oct 2012 03:40:18 -0400 X-Spam-Rating: None X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=xHXv0g0Kn/mySl3Zfr0D25xRGcuzAlFTymZE9p2Zkbk= c=1 sm=0 a=nDghuxUhq_wA:10 a=pGLkceISAAAA:8 a=l2nB0c5WNQBgCNKykBAA:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=9APtBp81KtXRUr9N8XwA:9 a=zsaeSSr3pazHFAQJU9uUyg==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.wow.synacor.com smtp.mail=set@squish.homelinux.org; spf=neutral Received-SPF: neutral (smtp02.wow.synacor.com: 67.149.1.211 is neither permitted nor denied by domain of squish.homelinux.org) Received: from [67.149.1.211] ([67.149.1.211:49311] helo=squish.homelinux.org) by smtp.mail.wowway.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id D6/8E-25559-1E6A3805; Sun, 21 Oct 2012 03:40:17 -0400 Received: by squish.homelinux.org (Postfix, from userid 1000) id A67C0941243; Sun, 21 Oct 2012 03:40:16 -0400 (EDT) Date: Sun, 21 Oct 2012 03:40:16 -0400 From: Paul Thompson To: linux-kbuild@vger.kernel.org Cc: Michal Marek Subject: IRQ subsystem menu Message-ID: <20121021074016.GA2604@squish.home.loc> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 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 --- 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 #