Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992637AbWKAQeu (ORCPT ); Wed, 1 Nov 2006 11:34:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946938AbWKAQet (ORCPT ); Wed, 1 Nov 2006 11:34:49 -0500 Received: from [198.99.130.12] ([198.99.130.12]:16050 "EHLO saraswathi.solana.com") by vger.kernel.org with ESMTP id S1946932AbWKAQet (ORCPT ); Wed, 1 Nov 2006 11:34:49 -0500 Message-Id: <200611011732.kA1HWfMd005504@ccure.user-mode-linux.org> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: akpm@osdl.org cc: linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Subject: [PATCH 2/2] UML - Include tidying Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Nov 2006 12:32:41 -0500 From: Jeff Dike Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2191 Lines: 55 In order to get the __NR_* constants, we need sys/syscall.h. linux/unistd.h works as well since it includes syscall.h, however syscall.h is more parsimonious. We were inconsistent in this, and this patch adds syscall.h includes where necessary and removes linux/unistd.h includes where they are not needed. asm/unistd.h also includes the __NR_* constants, but these are not the glibc-sanctioned ones, so this also removes one such inclusion. Signed-off-by: Jeff Dike Index: linux-2.6.18-mm/arch/um/os-Linux/process.c =================================================================== --- linux-2.6.18-mm.orig/arch/um/os-Linux/process.c 2006-10-30 12:57:27.000000000 -0500 +++ linux-2.6.18-mm/arch/um/os-Linux/process.c 2006-10-30 15:25:20.000000000 -0500 @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include Index: linux-2.6.18-mm/arch/um/os-Linux/skas/process.c =================================================================== --- linux-2.6.18-mm.orig/arch/um/os-Linux/skas/process.c 2006-10-30 13:11:24.000000000 -0500 +++ linux-2.6.18-mm/arch/um/os-Linux/skas/process.c 2006-10-30 15:26:38.000000000 -0500 @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include "user.h" #include "sysdep/ptrace.h" Index: linux-2.6.18-mm/arch/um/os-Linux/tls.c =================================================================== --- linux-2.6.18-mm.orig/arch/um/os-Linux/tls.c 2006-10-30 12:57:27.000000000 -0500 +++ linux-2.6.18-mm/arch/um/os-Linux/tls.c 2006-10-30 15:25:55.000000000 -0500 @@ -1,7 +1,7 @@ #include +#include #include #include -#include #include #include "sysdep/tls.h" #include "uml-config.h" - 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/