From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HUPqt-0003HE-S7 for user-mode-linux-devel@lists.sourceforge.net; Thu, 22 Mar 2007 09:09:24 -0700 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HUPqX-0005In-4u for user-mode-linux-devel@lists.sourceforge.net; Thu, 22 Mar 2007 09:09:02 -0700 Date: Thu, 22 Mar 2007 12:06:40 -0400 From: Jeff Dike Message-ID: <20070322160640.GA6992@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Disposition: inline Subject: [uml-devel] [ PATCH 0/7 ] UML - Header cleanup List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Andrew Morton Cc: LKML , uml-devel These are post-2.6.21 material, except that if the new definition of ARRAY_SIZE goes to Linus, patch 1 in this series should go as well. These patches are a response to the new ARRAY_SIZE. UML had a duplicate definition for the use of the userspace side of things, which can't directly use kernel.h. This header was included everywhere, and had a random collection of stuff in it. This series first gets UML building again by replacing the old ARRAY_SIZE definition with one that expands to the same token sequence. Then user_util.h is dismantled, primarily into two, more coherent headers, and deleted. ARRAY_SIZE is reintroduced, but in a header which is only included in userspace files, and in its old form, so this version is lacking the extra typechecking. The final patch in the series is unrelated to the rest - it adds __init declarations to some functions which were lacking them. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934110AbXCVQKG (ORCPT ); Thu, 22 Mar 2007 12:10:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933840AbXCVQJn (ORCPT ); Thu, 22 Mar 2007 12:09:43 -0400 Received: from [198.99.130.12] ([198.99.130.12]:53365 "EHLO saraswathi.solana.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933913AbXCVQJi (ORCPT ); Thu, 22 Mar 2007 12:09:38 -0400 Date: Thu, 22 Mar 2007 12:06:40 -0400 From: Jeff Dike To: Andrew Morton Cc: LKML , uml-devel Subject: [ PATCH 0/7 ] UML - Header cleanup Message-ID: <20070322160640.GA6992@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org These are post-2.6.21 material, except that if the new definition of ARRAY_SIZE goes to Linus, patch 1 in this series should go as well. These patches are a response to the new ARRAY_SIZE. UML had a duplicate definition for the use of the userspace side of things, which can't directly use kernel.h. This header was included everywhere, and had a random collection of stuff in it. This series first gets UML building again by replacing the old ARRAY_SIZE definition with one that expands to the same token sequence. Then user_util.h is dismantled, primarily into two, more coherent headers, and deleted. ARRAY_SIZE is reintroduced, but in a header which is only included in userspace files, and in its old form, so this version is lacking the extra typechecking. The final patch in the series is unrelated to the rest - it adds __init declarations to some functions which were lacking them. Jeff -- Work email - jdike at linux dot intel dot com