Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757092Ab0FIJ6l (ORCPT ); Wed, 9 Jun 2010 05:58:41 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:64559 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755918Ab0FIJ6k (ORCPT ); Wed, 9 Jun 2010 05:58:40 -0400 Date: Wed, 9 Jun 2010 11:58:35 +0200 From: Christoph Egger To: Benjamin Herrenschmidt , Paul Mackerras , Kumar Gala , Stephen Rothwell , Torez Smith , Dave Kleikamp , Josh Boyer , Albert Herranz , Grant Likely , Li Yang , Tejun Heo , Thadeu Lima de Souza Cascardo , Huang Weiyi , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Cc: vamos@i4.informatik.uni-erlangen.de Subject: [PATCH 0/5] Removing dead code Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1883 Lines: 49 Hi all! As part of the VAMOS[0] research project at the University of Erlangen we are looking at multiple integrity errors in linux' configuration system. I've been running a check on the arch/powerpc sourcetree for config Items not defined in Kconfig and found5 such chases. Sourcecode blocks depending on these Items are not reachable from a vanilla kernel -- dead code. I've seen such dead blocks made on purpose e.g. while integrating new features into the kernel but generally they're just useless. Each of the patches in this patchset removes on such dead config Item, I'd be glad if you consider applying them. I've been doing deeper analysis of such issues before and can do so again but I'm not so sure they were fastly usefull. However I've done a testbuild on ppc with allmodconfig so it should at least build. Please keep me informed of this patch getting confirmed / merged so we can keep track of it. Regards Christoph Egger [0] http://vamos1.informatik.uni-erlangen.de/ Christoph Egger (5): Removing dead BOOK3E_MMU_TLB_STATS Removing dead CONFIG_HIGHPTE Removing dead CONFIG_SMP_750 Removing dead CONFIG_SERIAL_TEXT_DEBUG Removing dead CONFIG_PPC47x arch/powerpc/include/asm/exception-64e.h | 38 ------------------------------ arch/powerpc/kernel/head_40x.S | 19 --------------- arch/powerpc/mm/44x_mmu.c | 4 --- arch/powerpc/mm/pgtable_32.c | 4 --- arch/powerpc/mm/tlb_hash32.c | 4 --- arch/powerpc/mm/tlb_low_64e.S | 9 ------- 6 files changed, 0 insertions(+), 78 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/