From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755988AbYEEB7d (ORCPT ); Sun, 4 May 2008 21:59:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754047AbYEEB7Y (ORCPT ); Sun, 4 May 2008 21:59:24 -0400 Received: from uki.us.mooball.net ([66.98.178.13]:48937 "EHLO uki.us.mooball.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753636AbYEEB7X (ORCPT ); Sun, 4 May 2008 21:59:23 -0400 X-ClientAddr: 220.233.82.121 Subject: Re: [PATCH 08/56] microblaze_v2: Interrupt handling, timer support, supported function From: John Williams To: monstr@seznam.cz Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, stephen.neuendorffer@xilinx.com, John.Linn@xilinx.com, matthew@wil.cx, will.newton@gmail.com, drepper@redhat.com, microblaze-uclinux@itee.uq.edu.au, grant.likely@secretlab.ca, Michal Simek In-Reply-To: <932956128c9c655a218a940eaf02017a5dd0bdf9.1209897266.git.monstr@monstr.eu> References: <1209901305-6404-1-git-send-email-monstr@seznam.cz> <684c36e5ad3f598e5079e88ec195545c4a7150c2.1209897266.git.monstr@monstr.eu> <0674b1f7abb9a3d564b68c95bc28adc2c2fe9551.1209897266.git.monstr@monstr.eu> <9a7c6646e5dd9724c1cf34767adec181481fa3ef.1209897266.git.monstr@monstr.eu> <932956128c9c655a218a940eaf02017a5dd0bdf9.1209897266.git.monstr@monstr.eu> Content-Type: text/plain Organization: PetaLogix Date: Mon, 05 May 2008 11:58:38 +1000 Message-Id: <1209952718.5798.44.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-40.el5_1.1) Content-Transfer-Encoding: 7bit X-Mooball.com-MailScanner-Information: Please contact the ISP for more information X-Mooball.com-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-From: john.williams@petalogix.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > arch/microblaze/kernel/hack.c | 82 ++++++++++++++++++ > include/asm-microblaze/hack.h | 24 +++++ These 'hack' files, functions and CONFIGS should be renamed. How about * selfmod.[c|h] (core infrastructure) * CONFIG_SELFMOD (enables the self modifying API) * CONFIG_SELFMOD_IRQ (use it on IRS) * CONFIG_SELFMOD_TIMER (user it on the timer) The last two would be dependent on CONFIG_SELFMOD With the recent ksplice stuff it seems self-modifying code is ready for the mainline :)