Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Jun 2002 15:45:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Jun 2002 15:45:13 -0400 Received: from cpe-24-221-152-185.az.sprintbbd.net ([24.221.152.185]:27566 "EHLO opus.bloom.county") by vger.kernel.org with ESMTP id ; Thu, 6 Jun 2002 15:45:12 -0400 Date: Thu, 6 Jun 2002 12:44:54 -0700 From: Tom Rini To: Linus Torvalds Cc: Kernel Mailing List Subject: [PATCH] Remove from Message-ID: <20020606194454.GE14252@opus.bloom.county> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This removes from . This then goes and fixes all of the files (x86 and PPC) which relied on implicit includes which don't happen anymore. This also takes out of fs/mpage.c and puts it into include/linux/bio.h where it belongs since references 'kdev_t' directly. A quick summary of the of the added includes: arch/i386/kernel/microcode.c: needs extern for num_physpages, in linux/mm.h include/linux/spinlock.h: local_irq* is defined in but this was never directly included. This depends on the patch to move the vmalloc wrappers out of -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ ===== arch/i386/kernel/microcode.c 1.10 vs edited ===== --- 1.10/arch/i386/kernel/microcode.c Thu May 23 09:06:16 2002 +++ edited/arch/i386/kernel/microcode.c Thu Jun 6 11:01:38 2002 @@ -67,6 +67,7 @@ #include #include #include +#include #include #include ===== fs/mpage.c 1.4 vs edited ===== --- 1.4/fs/mpage.c Wed May 29 17:34:44 2002 +++ edited/fs/mpage.c Thu Jun 6 10:45:42 2002 @@ -12,7 +12,6 @@ #include #include -#include #include #include #include ===== include/asm-i386/pci.h 1.13 vs edited ===== --- 1.13/include/asm-i386/pci.h Thu Mar 14 03:11:25 2002 +++ edited/include/asm-i386/pci.h Thu Jun 6 10:23:38 2002 @@ -4,6 +4,7 @@ #include #ifdef __KERNEL__ +#include /* for struct page */ /* Can be used to override the logic in pci_scan_bus for skipping already-configured bus numbers - to be used for buggy BIOSes ===== include/asm-i386/pgalloc.h 1.15 vs edited ===== --- 1.15/include/asm-i386/pgalloc.h Wed May 15 23:17:13 2002 +++ edited/include/asm-i386/pgalloc.h Thu Jun 6 10:19:21 2002 @@ -5,6 +5,7 @@ #include #include #include +#include /* for struct page */ #define pmd_populate_kernel(mm, pmd, pte) \ set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte))) ===== include/linux/bio.h 1.13 vs edited ===== --- 1.13/include/linux/bio.h Wed Apr 24 13:00:40 2002 +++ edited/include/linux/bio.h Thu Jun 6 11:23:50 2002 @@ -20,6 +20,7 @@ #ifndef __LINUX_BIO_H #define __LINUX_BIO_H +#include /* Platforms may set this to teach the BIO layer about IOMMU hardware. */ #include #ifndef BIO_VMERGE_BOUNDARY ===== include/linux/spinlock.h 1.9 vs edited ===== --- 1.9/include/linux/spinlock.h Wed Apr 3 11:46:00 2002 +++ edited/include/linux/spinlock.h Thu Jun 6 11:23:50 2002 @@ -7,6 +7,8 @@ #include #include +#include + /* * These are the generic versions of the spinlocks and read-write * locks.. ===== include/linux/vmalloc.h 1.3 vs edited ===== --- 1.3/include/linux/vmalloc.h Thu Jun 6 10:15:09 2002 +++ edited/include/linux/vmalloc.h Thu Jun 6 10:19:16 2002 @@ -1,7 +1,6 @@ #ifndef __LINUX_VMALLOC_H #define __LINUX_VMALLOC_H -#include #include #include - 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/