Re: [PATCH 08/56] microblaze_v2: Interrupt handling, timer support, supported function

John Williams
2008-05-05T01:59:33Z

> 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 :)