Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbZL2RbD (ORCPT ); Tue, 29 Dec 2009 12:31:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751507AbZL2RbA (ORCPT ); Tue, 29 Dec 2009 12:31:00 -0500 Received: from astoria.ccjclearline.com ([64.235.106.9]:37884 "EHLO astoria.ccjclearline.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398AbZL2RbA (ORCPT ); Tue, 29 Dec 2009 12:31:00 -0500 Date: Tue, 29 Dec 2009 12:30:23 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost To: Linux Kernel Mailing List Subject: simplify numerous param.h's by including ? Message-ID: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1400 Lines: 41 a brief perusal of the numerous param.h files under arch//include/asm shows that most of them could be replaced with a simple #include as is done by, for example, the microblaze param.h file. the only noticeable difference in those files is the value of EXEC_PAGESIZE, which is already conditionally set in the generic version: #ifndef EXEC_PAGESIZE #define EXEC_PAGESIZE 4096 #endif so, at worst, a param.h file could be replaced by: #define EXEC_PAGESIZE #include rather than duplicating the same content over and over. (i did this sort of centralization once upon a time with the ioctl.h file.) worth doing? not worth doing? rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ======================================================================== -- 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/