Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 15 Nov 2002 06:25:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 15 Nov 2002 06:25:45 -0500 Received: from orion.netbank.com.br ([200.203.199.90]:51726 "EHLO orion.netbank.com.br") by vger.kernel.org with ESMTP id ; Fri, 15 Nov 2002 06:25:41 -0500 Date: Fri, 15 Nov 2002 09:32:23 -0200 From: Arnaldo Carvalho de Melo To: Linus Torvalds Cc: Linux Kernel Mailing List , Linux Kernel Janitors Project Subject: [PATCH] use thread_info.h in uaccess.h Message-ID: <20021115113223.GN18180@conectiva.com.br> Mail-Followup-To: Arnaldo Carvalho de Melo , Linus Torvalds , Linux Kernel Mailing List , Linux Kernel Janitors Project Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Url: http://advogato.org/person/acme Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4460 Lines: 132 Hi Linus, Please consider pulling from: bk://oops.kerneljanitors.org:hell_header-2.5 Comments on the changeset, but its fairly trivial. Tested with 'make allmodconfig' and 'make allyesconfig'. - Arnaldo You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.851, 2002-11-15 09:05:29-02:00, acme@conectiva.com.br o includes: remove include sched.h from asm-i386/uaccess.h It only needs current_thread_info, so now it includes just asm/thread_info.h, this way sched.h will not be included indirectly hundreds of times when all that is needed is copy_to_user and friends. fs/autofs/autofs_i.h | 2 ++ fs/autofs4/autofs_i.h | 2 ++ fs/ext2/ioctl.c | 2 ++ include/asm-i386/uaccess.h | 2 +- ipc/msg.c | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) diff -Nru a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h --- a/fs/autofs/autofs_i.h Fri Nov 15 09:07:06 2002 +++ b/fs/autofs/autofs_i.h Fri Nov 15 09:07:06 2002 @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include #ifdef DEBUG diff -Nru a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h --- a/fs/autofs4/autofs_i.h Fri Nov 15 09:07:06 2002 +++ b/fs/autofs4/autofs_i.h Fri Nov 15 09:07:06 2002 @@ -24,6 +24,8 @@ #include #include #include +#include +#include #include /* #define DEBUG */ diff -Nru a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c --- a/fs/ext2/ioctl.c Fri Nov 15 09:07:06 2002 +++ b/fs/ext2/ioctl.c Fri Nov 15 09:07:06 2002 @@ -9,6 +9,8 @@ #include "ext2.h" #include +#include +#include #include diff -Nru a/include/asm-i386/uaccess.h b/include/asm-i386/uaccess.h --- a/include/asm-i386/uaccess.h Fri Nov 15 09:07:06 2002 +++ b/include/asm-i386/uaccess.h Fri Nov 15 09:07:06 2002 @@ -6,7 +6,7 @@ */ #include #include -#include +#include #include #include diff -Nru a/ipc/msg.c b/ipc/msg.c --- a/ipc/msg.c Fri Nov 15 09:07:06 2002 +++ b/ipc/msg.c Fri Nov 15 09:07:06 2002 @@ -23,6 +23,8 @@ #include #include #include +#include +#include #include #include "util.h" =================================================================== This BitKeeper patch contains the following changesets: 1.851 ## Wrapped with gzip_uu ## begin 664 bkpatch25755 M'XL(`%K5U#T``^V876_;-A2&KZ-?02"7JR5^ZL-8@JSML`4=L"!#KX;!H$DJ MTB*)@4C'-:`?OR,[=FPGBA-W=XTMV(9$'KXZ?/@>RJ?HJS/M^$2JV@2GZ'?K M_/A$V<8H7][+4-DZG+9PX=I:N!`5MC;1QR]18:IJ4ABI33NBH0B@Q97TJD#W MIG7C$Q*RS1F_N#/CD^M??_OZQR_707!VACX5LKDQ?QF/SLX";]M[66EW(7U1 MV2;TK6Q<;?QR[&[3M*,84W@+DC`LXH[$F">=(IH0R8G1F/(TYH_1>J$OQB*$ M"!P31D2'<49X\!F1,!4$81H1$A&!<#;&8DRS$:9CC%&?H8O]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