From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935991AbXGQUjO (ORCPT ); Tue, 17 Jul 2007 16:39:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754329AbXGQUi7 (ORCPT ); Tue, 17 Jul 2007 16:38:59 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:39975 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753187AbXGQUi6 (ORCPT ); Tue, 17 Jul 2007 16:38:58 -0400 Date: Tue, 17 Jul 2007 21:38:53 +0100 From: Al Viro To: Geert Uytterhoeven Cc: Linus Torvalds , Jeff Dike , Heiko Carstens , Andrew Morton , Linux Kernel Mailing List , Roman Zippel , jdike@karaya.com, Alan Cox , Martin Schwidefsky , Russell King Subject: Re: uninline check_signature() Message-ID: <20070717203853.GO21668@ftp.linux.org.uk> References: <200707161802.l6GI2tNp007390@hera.kernel.org> <20070716221257.GA12230@osiris.ibm.com> <20070716152923.ce4a5c5a.akpm@linux-foundation.org> <20070716230307.GB12230@osiris.ibm.com> <20070717163328.GG7965@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2007 at 10:31:08PM +0200, Geert Uytterhoeven wrote: > And we'll all live with a check_signature() in our kernel, which is used > only by a few legacy drivers that depend on ISA || PCI... > > OR I'll have to disable HAS_IOMEM on m68k, and invent a new Kconfig > symbol for lots of other stuff that currently depends on HAS_IOMEM... Actually... Is there any reason why it's not simply kmalloc memcpy_fromio memcmp on all targets? Or just a variably-sized auto array, since we never do it for large stuff, IIRC...