Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Jun 2002 15:11:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Jun 2002 15:11:56 -0400 Received: from [195.39.17.254] ([195.39.17.254]:13985 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id ; Fri, 7 Jun 2002 15:11:55 -0400 Date: Fri, 7 Jun 2002 13:01:45 +0200 From: Pavel Machek To: Tom Rini Cc: Linus Torvalds , Kernel Mailing List Subject: Re: [PATCH] Cleanup i386 abuses Message-ID: <20020607110145.GA9975@elf.ucw.cz> In-Reply-To: <20020605163614.GF1335@opus.bloom.county> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > The following patch cleans up the i386 usage of . > This remove from which did not need > it, which only had it due to an extern using > __init, which is not needed. > This adds to which actually has > numerous __init functions and adds to 9 files inside of > arch/i386 which were indirectly including previously. @@ -33,7 +32,7 @@ extern pgprot_t kmap_prot; extern pte_t *pkmap_page_table; -extern void kmap_init(void) __init; +extern void kmap_init(void); /* * Right now we initialize only a single pte table. It can be extended __init is usefull as a documentation... Perhaps adding /* This is __init function */ would be good. Pavel -- (about SSSCA) "I don't say this lightly. However, I really think that the U.S. no longer is classifiable as a democracy, but rather as a plutocracy." --hpa - 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/