Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269751AbUJGIW3 (ORCPT ); Thu, 7 Oct 2004 04:22:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269753AbUJGIW3 (ORCPT ); Thu, 7 Oct 2004 04:22:29 -0400 Received: from witte.sonytel.be ([80.88.33.193]:5248 "EHLO witte.sonytel.be") by vger.kernel.org with ESMTP id S269751AbUJGIW1 (ORCPT ); Thu, 7 Oct 2004 04:22:27 -0400 Date: Thu, 7 Oct 2004 10:22:13 +0200 (MEST) From: Geert Uytterhoeven To: Andrew Morton cc: Pavel Machek , Linux Kernel Development Subject: Re: __init poisoning for i386, too In-Reply-To: <20041006152924.5ae6e94d.akpm@osdl.org> Message-ID: References: <20041006221854.GA1622@elf.ucw.cz> <20041006152924.5ae6e94d.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 29 On Wed, 6 Oct 2004, Andrew Morton wrote: > Pavel Machek wrote: > > Overwrite __init section so calls to __init functions from normal code > > are catched, reliably. I wonder if this should be configurable... but > > it is configurable on x86-64 so I copied it. Please apply, > > No, I'll change it to just enable the thing unconditionally. And can't such things be done in architecture-neutral code, to avoid code duplication and out-of-sync code among different architectures? The magic value that corresponds to an illegal instruction (as suggested by wli) is arch-dependent, of course. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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/